<< Prev Question Next Question >>

Question 8/19

Install and configure ansible
User sandy has been created on your control node with the appropriate permissions already, do not change or modify ssh keys. Install the necessary packages to run ansible on the control node. Configure ansible.cfg to be in folder /home/sandy/ansible/ansible.cfg and configure to access remote machines via the sandy user. All roles should be in the path /home/sandy/ansible/roles. The inventory path should be in /home/sandy/ansible/invenlory.
You will have access to 5 nodes.
node1.example.com
node2.example.com
node3.example.com
node4.example.com
node5.example.com
Configure these nodes to be in an inventory file where node I is a member of group dev. nodc2 is a member of group test, node3 is a member of group proxy, nodc4 and node 5 are members of group prod. Also, prod is a member of group webservers.

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