<< Prev Question Next Question >>

Question 6/19

Install and configure ansible
User bob has been created on your control node. Give him the appropriate permissions on the control node. Install the necessary packages to run ansible on the control node.
Create a configuration file /home/bob/ansible/ansible.cfg to meet the following requirements:
* The roles path should include /home/bob/ansible/roles, as well as any other path that may be required for the course of the sample exam.
* The inventory file path is /home/bob/ansible/inventory.
* Ansible should be able to manage 10 hosts at a single time.
* Ansible should connect to all managed nodes using the bob user.
Create an inventory file for the following five nodes:
nodel.example.com
node2.example.com
node3.example.com
node4.example.com
node5.example.com
Configure these nodes to be in an inventory file where node1 is a member of group dev. nodc2 is a member of group test, nodc3 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...