<< Prev Question

Question 19/19

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".

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (19q)
Question 1: Create a role called apache in "/home/admin/ansible/roles" w...
Question 2: Create a role called sample-apache in /home/sandy/ansible/ro...
Question 3: Create a playbook called packages.yml that: ----------------...
Question 4: Create the users in the file usersjist.yml file provided. Do...
Question 5: Create a file called requirements.yml in /home/sandy/ansible...
Question 6: Install and configure ansible User bob has been created on y...
Question 7: Install the RHEL system roles package and create a playbook ...
Question 8: Install and configure ansible User sandy has been created on...
Question 9: Create an ansible vault password file called lock.yml with t...
Question 10: Create a playbook called webdev.yml in 'home/sandy/ansible. ...
Question 11: Create a file called requirements.yml in /home/sandy/ansible...
Question 12: Create a file called specs.empty in home/bob/ansible on the ...
Question 13: Create a playbook called hwreport.yml that produces an outpu...
Question 14: Create a file called requirements.yml in /home/sandy/ansible...
Question 15: Create a playbook called timesvnc.yml in /home/sandy/ansible...
Question 16: Create a playbook called regulartasks.yml which has the syst...
Question 17: In /home/sandy/ansible/ create a playbook called logvol.yml....
Question 18: Create a playbook called issue.yml in /home/sandy/ansible wh...
Question 19: Create a playbook /home/bob /ansible/motd.yml that runs on a...