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 5 Question 21 Discussion

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

Create a file called specs.empty in home/bob/ansible on the local machine as follows:

HOST=

MEMORY=

BIOS=

VDA_DISK_SIZE=

VDB_DISK_SIZE=

Create the playbook /home/bob/ansible/specs.yml which copies specs.empty to all remote nodes' path /root/specs.txt. Using the specs.yml playbook then edit specs.txt on the remote machines to reflect the appropriate ansible facts.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Terrilyn
2 days ago
Haha, I bet Bob's gonna have a tough time remembering all those variable names. Should've called them something more intuitive, like 'server_memory' and 'boot_disk_size'.
upvoted 0 times
...
Johnathon
8 days ago
Wait, why do we need to create a separate file called specs.empty? Isn't it simpler to just write the facts directly to the specs.txt file?
upvoted 0 times
Trinidad
20 hours ago
It's a good practice to have a separate file for organization and clarity.
upvoted 0 times
...
...
Cyril
20 days ago
Looks like a straightforward Ansible playbook to create a file with system information. I like how it uses the appropriate variables to capture the facts.
upvoted 0 times
Rosendo
2 days ago
User 2: Yeah, it's a good way to ensure consistency across the machines.
upvoted 0 times
...
William
3 days ago
User1: This playbook is pretty clear, just need to fill in the variables.
upvoted 0 times
...
Francesco
5 days ago
User 1: This playbook will help us create a file with system information on all remote nodes.
upvoted 0 times
...
...
Norah
22 days ago
After that, we edit specs.txt on the remote machines to reflect ansible facts.
upvoted 0 times
...
Charlette
24 days ago
Yes, and then we have to create the playbook specs.yml to copy it to remote nodes.
upvoted 0 times
...
Denna
25 days ago
I think we need to create a file called specs.empty in home/bob/ansible.
upvoted 0 times
...

Save Cancel