<< Prev Question Next Question >>

Question 4/19

Create the users in the file usersjist.yml file provided. Do this in a playbook called users.yml located at /home/sandy/ansible. The passwords for these users should be set using the lock.yml file from TASK7. When running the playbook, the lock.yml file should be unlocked with secret.txt file from TASK 7.
All users with the job of 'developer' should be created on the dev hosts, add them to the group devops, their password should be set using the pw_dev variable. Likewise create users with the job of 'manager' on the proxy host and add the users to the group 'managers', their password should be set using the pw_mgr variable.

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