Deal of The Day! 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 1 Question 56 Discussion

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

Create a file called adhoc.sh in /home/sandy/ansible which will use adhoc commands to set up a new repository. The name of the repo will be 'EPEL' the description 'RHEL8' the baseurl is 'https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rmp' there is no gpgcheck, but you should enable the repo.

* You should be able to use an bash script using adhoc commands to enable repos. Depending on your lab setup, you may need to make this repo "state=absent" after you pass this task.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Elden
1 days ago
This seems like a straightforward task. The provided script looks good, though I might add a 'state=present' parameter to ensure the repository is enabled.
upvoted 0 times
...
Tanesha
8 days ago
Yes, the bash script example given for enabling the repo makes it easier to understand the steps involved.
upvoted 0 times
...
Delsie
9 days ago
I agree, but the explanation provided for creating the repo using adhoc commands seems clear and helpful.
upvoted 0 times
...
Tanesha
10 days ago
I think creating the adhoc.sh file in /home/sandy/ansible to set up a new repository sounds challenging.
upvoted 0 times
...

Save Cancel