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 10 Question 41 Discussion

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

Use Ansible Galaxy with a requirements file called /home/admin/ansible/roles/

install.yml to download and install roles to /home/admin/ansible/roles from the

following URLs:

http:// classroom.example.com /role1.tar.gz The name of this role should be balancer

http:// classroom.example.com /role2.tar.gz The name of this role should be phphello

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Cyril
6 months ago
Then run ansible-galaxy install -r roles/install.yml -p roles to download and install the roles.
upvoted 0 times
...
Shannan
6 months ago
It's actually quite straightforward, just need to edit the install.yml file with the URLs and names.
upvoted 0 times
...
Matt
6 months ago
I've used Ansible Galaxy before, but I've never specified roles from specific URLs.
upvoted 0 times
...
Cyril
6 months ago
I agree, using a requirements file makes it easier to download and install roles.
upvoted 0 times
...
Shannan
6 months ago
I think Ansible Galaxy is a great tool for managing roles in Ansible.
upvoted 0 times
...
Alysa
7 months ago
Hmm, I wonder if we need to create the /home/admin/ansible/roles directory first, or if Ansible will handle that for us.
upvoted 0 times
...
Jettie
7 months ago
Ah yes, the old 'download and install roles from a remote URL' trick. I've got this one in the bag!
upvoted 0 times
...
Melinda
7 months ago
I'm feeling pretty confident about this one. The example output looks like exactly what we need to do.
upvoted 0 times
...
Raina
7 months ago
Shouldn't be too hard. We just need to make sure we have the correct file paths and URLs, and then use the ansible-galaxy command to install the roles.
upvoted 0 times
...
Makeda
7 months ago
Yeah, it's a pretty straightforward task. I'm just wondering if there are any gotchas we should watch out for.
upvoted 0 times
Adelina
6 months ago
Just make sure the URLs are correct and the roles are named correctly in the requirements file.
upvoted 0 times
...
Adelina
6 months ago
No, as long as you follow the format in the requirements file, it should work smoothly.
upvoted 0 times
...
...
Sabrina
7 months ago
Hmm, this seems like a straightforward question. The instructions are clear, and I think I know how to approach this.
upvoted 0 times
...

Save Cancel