Create user accounts
------------------------
--> A list of users to be created can be found in the file called user_list.yml
save to /home/admin/ansible/
--> Using the password vault created elsewhere in this exam, create a playbook called
create_user.yml
that creates user accounts as follows:
--> Users with a job description of developer should be:
--> created on managed nodes in the "dev" and "test" host groups assigned the
password from the "dev_pass"
variable and these user should be member of supplementary group "devops".
--> Users with a job description of manager should be:
--> created on managed nodes in the "prod" host group assigned the password from
the "mgr_pass" variable
and these user should be member of supplementary group "opsmgr"
--> Passwords should use the "SHA512" hash format. Your playbook should work using
the vault password file
created elsewhere in this exam.
while practising you to create these file hear. But in exam have to download as per
questation.
user_list.yml file consist:
---
user:
- name: user1
job: developer
- name: user2
job: manager
Lashaunda
10 months agoCharlene
10 months agoFiliberto
11 months agoRikki
11 months agoElizabeth
11 months agoDeonna
11 months agoJovita
11 months agoMitzie
11 months agoDavida
11 months agoCyndy
11 months agoBrittney
11 months agoKiley
12 months ago