CORRECT TEXT

Posted by: Pdfprep Category: EX407 Tags: , ,

CORRECT TEXT

Create a file called packages.yml in/home/sandy/ansibleto install somepackages 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.

Answer: Solution as:

RedHat-EX4074_1

** 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 developmentnode yum:

name: ‘*’

state: latest

Leave a Reply

Your email address will not be published.