Create a file called packages.yml in /home/sandy/ansible to install some packages for the following hosts. On dev, prod and webservers install packages httpd, mod_ssl, and mariadb. On dev only install the development tools package. Also, on dev host update all the packages to the latest.
正解:
Solution as: ** NOTE 1 a more acceptable answer is likely 'present' since it's not asking to install the latest state: present ** NOTE 2 need to update the development node - name: update all packages on development node yum: name: '*' state: latest