Day 87 of DevOps, Day 37 of Azure. Both tasks today turned on a name that is not the name the system uses.
An Ansible task that says yum runs the dnf module, because the first is now a redirect to the second. And an Azure image "published by Jetware" is published by jetware-srl , which no amount of guessing gets you to.
One Ansible task, one Azure task. Install and start a service on three servers, then put MySQL on a VM and prove a PHP page can reach it. The tasks come from the KodeKloud Engineer platform.
Task 1: Install vsftpd and start it
The task: a playbook that installs vsftpd on all three app servers and starts it.
Step 1: Check it isn't there
[ tony@stapp01 ~ ] $ sudo systemctl status vsftpd Unit vsftpd.service could not be found.
Enter fullscreen mode
Exit fullscreen mode
Same discipline as the last batch, and it is what makes changed: [stapp01] mean "installed" rather than "already fine".
Step 2: The playbook
--- - hosts : all become : yes
tasks : - name : Install vsftpd package.…