BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat Exam EX294 Topic 14 Question 38 Discussion

Actual exam question for RedHat's EX294 exam
Question #: 38
Topic #: 14
[All EX294 Questions]

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.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Ira
4 months ago
And users with the job 'manager' go on proxy host and added to 'managers' group with password set using pw_mgr variable.
upvoted 0 times
...
Aleta
4 months ago
Exactly, they should also be added to the group devops and their password set using pw_dev variable.
upvoted 0 times
...
Buddy
5 months ago
So, all users with the job 'developer' should be created on the dev hosts, right?
upvoted 0 times
...
Ira
5 months ago
The passwords for these users should be set using the lock.yml file from TASK7.
upvoted 0 times
...
Aleta
5 months ago
Yes, we need to create users in the usersjist.yml file provided.
upvoted 0 times
...
Buddy
5 months ago
I think the question is about creating users in a file using Ansible playbook.
upvoted 0 times
...
Chaya
5 months ago
I will make sure to include the explanation command when running the playbook.
upvoted 0 times
...
Daron
5 months ago
Adding users to specific groups based on job roles makes managing access easier.
upvoted 0 times
...
Joni
6 months ago
Yes, running the playbook with the vault password file is crucial for securing the passwords.
upvoted 0 times
...
Chaya
6 months ago
I think using the playbook and variables provided can simplify the task.
upvoted 0 times
...
Daron
6 months ago
I agree, creating users in different groups based on host and job can be complex.
upvoted 0 times
...
Joni
6 months ago
This question seems tricky.
upvoted 0 times
...

Save Cancel