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

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

Create a playbook called issue.yml in /home/sandy/ansible which changes the file /etc/issue on all managed nodes: If host is a member of (lev then write "Development" If host is a member of test then write "Test" If host is a member of prod then write "Production"

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Larae
9 months ago
Candidate 6: It seems like a detailed question that tests our ability to configure package installations in Ansible playbooks.
upvoted 0 times
...
Emile
9 months ago
Candidate 5: I agree, and we should also be careful with the syntax and indentation in the YAML file to ensure it runs correctly.
upvoted 0 times
...
Reiko
10 months ago
Candidate 4: So, the solution involves using the yum module with the state parameter set to present for most packages and latest for updating all packages on dev.
upvoted 0 times
...
Mireya
10 months ago
Candidate 3: Additionally, on dev host we also need to install the development tools package and update all packages to the latest.
upvoted 0 times
...
Brynn
10 months ago
Candidate 2: Yes, we need to make sure that on dev, prod, and webservers the packages httpd, mod_ssl, and mariadb are installed.
upvoted 0 times
...
Berry
10 months ago
Candidate 1: I think the question is asking us to create a file called packages.yml and install specific packages on different hosts.
upvoted 0 times
...
Milly
10 months ago
Got it, I'll make sure to follow the solution explanation provided for this question.
upvoted 0 times
...
Tula
10 months ago
The key here is to use the 'present' state for installing packages and 'latest' state for updating on dev.
upvoted 0 times
...
Dean
10 months ago
Yeah, and don't forget to mention updating all packages to the latest on the dev host only.
upvoted 0 times
...
Milly
10 months ago
Makes sense, we need to specify the packages for dev, prod, and webservers accordingly.
upvoted 0 times
...
Tula
11 months ago
I think we should use YAML syntax to define the packages and hosts.
upvoted 0 times
...
Dean
11 months ago
This question seems tricky, we need to create a file with specific packages installed.
upvoted 0 times
...

Save Cancel