1 00:00:06,320 --> 00:00:07,960 - We are now at the end of this lesson. 2 00:00:07,960 --> 00:00:09,320 Let's do a lab. 3 00:00:09,320 --> 00:00:12,030 In this lab, you are going to automate setup 4 00:00:12,030 --> 00:00:15,440 of the vsftpd service. 5 00:00:15,440 --> 00:00:18,290 So, write a playbook that meets the following requirements. 6 00:00:18,290 --> 00:00:19,123 And if necessary, 7 00:00:19,123 --> 00:00:22,520 use ansible-doc for additional information if needed. 8 00:00:22,520 --> 00:00:24,720 You should be using ansible-doc all the time 9 00:00:24,720 --> 00:00:26,660 if you don't know what to do. 10 00:00:26,660 --> 00:00:27,493 First, install, 11 00:00:27,493 --> 00:00:30,010 start, and enable the vsftpd service 12 00:00:30,010 --> 00:00:31,630 on all the managed nodes. 13 00:00:31,630 --> 00:00:32,860 Then open the firewalld firewall 14 00:00:32,860 --> 00:00:35,630 to allow access to this service. 15 00:00:35,630 --> 00:00:38,600 Run the playbook and observe working of the playbook. 16 00:00:38,600 --> 00:00:40,070 And run the playbook one more time 17 00:00:40,070 --> 00:00:42,810 to verify the idempotency. 18 00:00:42,810 --> 00:00:44,250 It should still be working. 19 00:00:44,250 --> 00:00:45,083 Good luck.