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 5 Question 3 Discussion

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

Create a file called requirements.yml in /home/sandy/ansible/roles to install two roles. The source for the first role is geerlingguy.haproxy and geerlingguy.php. Name the first haproxy-role and the second php-role. The roles should be installed in /home/sandy/ansible/roles.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Carin
4 months ago
I thought you needed to specify versions too?
upvoted 0 times
...
Goldie
4 months ago
Yup, ansible-galaxy install command is spot on!
upvoted 0 times
...
Broderick
4 months ago
Wait, are both roles really from geerlingguy? Seems odd.
upvoted 0 times
...
Delila
4 months ago
Totally agree, that's the way to do it!
upvoted 0 times
...
Lezlie
4 months ago
Just create requirements.yml in the right folder!
upvoted 0 times
...
Salome
5 months ago
I remember running the ansible-galaxy command, but I can't recall if the -p flag is necessary for specifying the path.
upvoted 0 times
...
Paz
5 months ago
I feel like I might be mixing up the paths. Is it definitely /home/sandy/ansible/roles for the installation?
upvoted 0 times
...
Mabelle
5 months ago
I practiced a similar question where we had to create a requirements file, and I think the role names need to be listed under a "roles" key.
upvoted 0 times
...
Dorthy
5 months ago
I think I remember needing to specify the roles in the requirements.yml file, but I'm not sure about the exact syntax.
upvoted 0 times
...
Raylene
5 months ago
I'm a bit confused on this one. The direction seems important, but I'm not sure if it's always Inbound or if it could be Outbound. I'll have to think this through carefully.
upvoted 0 times
...
Luis
5 months ago
Okay, let me think this through step-by-step. I'll start by looking at the inheritance and implementation details in the given files.
upvoted 0 times
...

Save Cancel