CORRECT TEXT

Posted by: Pdfprep Category: EX407 Tags: , ,

CORRECT TEXT

Create a playbook /home/bob /ansible/motd.yml that runs on all inventory hosts and docs the following: The playbook should replaee any existing content of/etc/motd in the following text. Use ansible facts to display the FQDN of each host

On hosts in the dev host group the line should be "Welcome to Dev Server FQDN".

On hosts in the webserver host group the line should be "Welcome to Apache Server FQDN".

On hosts in the database host group the line should be "Welcome to MySQL Server FQDN".

Answer: /home/sandy/ansible/apache.yml

RedHat-EX40723_1

/home/sandy/ansible/roles/sample-apache/tasks/main.yml

Leave a Reply

Your email address will not be published.