New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat EX294 Exam - Topic 3 Question 71 Discussion

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

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.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Lynelle
9 hours ago
Totally agree, consistency is key!
upvoted 0 times
...
Yvonne
6 days ago
Just a heads up, the paths in the config file should match the user's home directory!
upvoted 0 times
...
Clare
11 days ago
The become settings seem a bit overkill. Do we really need to become root for this setup?
upvoted 0 times
...
Breana
16 days ago
Haha, I like how the nodes are named after the days of the week. Very creative!
upvoted 0 times
...
Haydee
21 days ago
The configuration file looks solid, but I'm wondering if we should increase the number of hosts Ansible can manage at a single time.
upvoted 0 times
...
Stevie
26 days ago
The inventory file looks correct, but I'm not sure about the host_key_checking setting. Shouldn't we set it to true for better security?
upvoted 0 times
...
Anjelica
1 month ago
I remember that we should use the correct syntax for the inventory file, but I keep mixing up the group names and hostnames.
upvoted 0 times
...
Barrie
1 month ago
I feel a bit uncertain about the permissions for user Katie on the control node. Did we cover how to set those up properly?
upvoted 0 times
...
Katie
1 month ago
I practiced a similar question where I had to set up the inventory file, but I can't recall if I need to specify the groups in a certain order.
upvoted 0 times
...
Chauncey
2 months ago
I think I remember that the roles path needs to be set correctly in the ansible.cfg file, but I'm not sure if I need to include any other paths for the exam.
upvoted 0 times
...
Gregg
2 months ago
No problem, I've done similar Ansible setup tasks before. I'll just work through each requirement systematically and I'm confident I can get this done.
upvoted 0 times
...
Gregoria
2 months ago
The inventory file part seems a bit tricky. I'll need to make sure I properly group the nodes as described in the question.
upvoted 0 times
...
Lynna
2 months ago
Okay, I think I've got a good handle on this. I'll create the ansible.cfg file with the specified paths and settings, then set up the inventory file as requested.
upvoted 0 times
...
Leatha
3 months ago
Looks good, but I think the roles path should also include /home/bob/ansible/custom_roles.
upvoted 0 times
...
Paulina
3 months ago
This question is tricky!
upvoted 0 times
...
Mable
3 months ago
Hmm, I'm a little unsure about the configuration file requirements. I'll need to double-check the details on the roles path, inventory file, and connection settings.
upvoted 0 times
...
Tiera
3 months ago
This looks like a pretty straightforward Ansible setup question. I'll start by creating the user bob and giving him the necessary permissions on the control node.
upvoted 0 times
Gearldine
2 months ago
We need to install the necessary packages for Ansible.
upvoted 0 times
...
Heike
2 months ago
Sounds good! What's next after creating the user?
upvoted 0 times
...
...

Save Cancel