EX407 Exam Question 36
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.
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.
EX407 Exam Question 37
Which of the following are valid ways to populate an Ansible Tower project with your source files?
(Choose all that apply.)
(Choose all that apply.)
EX407 Exam Question 38
Create anansible vault password file called reallysafepwin the/home/sandy/ansible directory. In the lock.yml file define two variables. One is and the password is 'dev' and the other is pw_mgrand the password is 'mgr' Create a regular file called which contains the password for lock.yml.
EX407 Exam Question 39
Where can you find documentation on Ansible modules? (Choose all that apply.)
EX407 Exam Question 40
Which command will use servers in a local inventory called invent.local?

