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 11 Question 20 Discussion

Actual exam question for RedHat's EX294 exam
Question #: 20
Topic #: 11
[All EX294 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:

0/2000 characters
Billi
4 months ago
Just a heads up, make sure to test it before deploying!
upvoted 0 times
...
Casey
4 months ago
I think it should work fine as long as the group membership is clear.
upvoted 0 times
...
Felicitas
4 months ago
Wait, what if a host belongs to multiple groups?
upvoted 0 times
...
Adria
4 months ago
Totally agree, it's a smart way to manage environments!
upvoted 0 times
...
Lizette
4 months ago
This playbook will definitely help with environment identification.
upvoted 0 times
...
Janine
5 months ago
I believe we also need to ensure that the playbook runs on all managed nodes, but I can't recall if we need to specify the inventory file explicitly.
upvoted 0 times
...
Micheal
5 months ago
I’m a bit confused about how to set the correct value for `/etc/issue` based on the group. Do I need to use a variable for that?
upvoted 0 times
...
Lavonna
5 months ago
This seems similar to a practice question we did about modifying files based on host groups. I think we used the `lineinfile` module for that.
upvoted 0 times
...
Davida
5 months ago
I think I remember needing to use the `when` condition to check the host group, but I'm not entirely sure how to structure that in the playbook.
upvoted 0 times
...
Erick
5 months ago
Okay, I've got this. The key is to focus on the three correct statements. I remember learning about the Search & Reporting App in class, so I'm confident I can nail this.
upvoted 0 times
...
Luis
5 months ago
The key here is to focus on the specific functionality of the Payables System Options form. I think I remember learning about the options it provides, so I'll try to apply that knowledge to determine the correct answer.
upvoted 0 times
...

Save Cancel