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 EX447 Topic 4 Question 29 Discussion

Actual exam question for RedHat's EX447 exam
Question #: 29
Topic #: 4
[All EX447 Questions]

Create a file called packages.yml in /home/sandy/ansible to install some packages for the following hosts. On dev, prod and webservers install packages httpd, mod_ssl, and mariadb. On dev only install the development tools package. Also, on dev host update all the packages to the latest.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Lashawna
3 months ago
Haha, I wonder if the dev team has a running bet on who can create the most convoluted Ansible playbook. This one's a pretty good contender!
upvoted 0 times
...
Novella
3 months ago
So, the solution is to use 'present' state for installing packages and update all packages on dev to the latest.
upvoted 0 times
...
Dudley
4 months ago
Yeah, the 'state: latest' part is a nice touch. Gotta keep those development machines up-to-date!
upvoted 0 times
Gayla
2 months ago
It's a simple but effective way to maintain the development environment.
upvoted 0 times
...
France
3 months ago
The 'state: latest' option is a good way to make sure all packages are up-to-date.
upvoted 0 times
...
Nikita
3 months ago
Definitely, it's important to ensure everything is running smoothly.
upvoted 0 times
...
Louvenia
3 months ago
I agree, keeping the development machines updated is crucial.
upvoted 0 times
...
...
Callie
4 months ago
Ah, I see what you mean. The question specifically asks to update all packages on the dev host, so that makes sense.
upvoted 0 times
...
Oliva
4 months ago
The solution looks good, but I'm not sure why we need to update all packages on the dev node. Isn't that a bit overkill?
upvoted 0 times
Bettina
2 months ago
I see your point, but it's better to be safe than sorry when it comes to security and stability.
upvoted 0 times
...
Alisha
2 months ago
Updating all packages ensures that there are no vulnerabilities or bugs in the system.
upvoted 0 times
...
Craig
3 months ago
It's always good to keep the dev node up to date with the latest packages.
upvoted 0 times
...
...
Beckie
4 months ago
For dev, we also need to install development tools package and update all packages to the latest.
upvoted 0 times
...
Christene
4 months ago
Yes, we need to install httpd, mod_ssl, and mariadb on dev, prod, and webservers.
upvoted 0 times
...
Novella
4 months ago
I think the question is asking us to create a file to install packages on different hosts.
upvoted 0 times
...

Save Cancel