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 EX294 Exam - Topic 3 Question 8 Discussion

Posted by Roselle on May 09, 2022 at 05:43 PM

Create a file in /home/sandy/ansible/ called report.yml. Using this playbook, get a file called report.txt (make it look exactly as below). Copy this file over to all remote hosts at /root/report.txt. Then edit the lines in the file to provide the real information of the hosts. If a disk does not exist then write NONE.

Suggested Answer: A

Get Premium EX294 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
HE
Helga 1 year ago
Seems straightforward, but I hope it works as expected!
GE
German 1 year ago
You just write NONE for those, right?
LE
Lettie 1 year ago
Wait, how do we handle missing disks?
BE
Beckie 1 year ago
Totally agree, that's the first step!
AN
Annice 1 year ago
Just create report.yml in /home/sandy/ansible/
JU
Julio 1 year ago
I think we also discussed using templates to modify files. Maybe I can use that approach to edit the report.txt with the host information.
AN
Annamae 1 year ago
I’m a bit confused about how to check for disk existence in the playbook. I hope I can remember the conditionals we covered.
BI
Billye 1 year ago
I remember we practiced creating playbooks, but I'm not sure about the exact syntax for copying files to remote hosts.
RE
Reta 1 year ago
This question feels similar to one we did in class about generating reports. I think I need to use the `copy` module for transferring the file.
RO
Rory 1 year ago
Hmm, this looks like a tricky one. I'll need to think carefully about the differences between DataFrame methods and how they're classified.
CO
Corazon 1 year ago
Okay, I think I've got this. The key is to focus on the specific details in each description and match them to the corresponding options.
EL
Elina 1 year ago
I'm a little confused by the wording of some of these options. I'll need to re-read them a few times to make sure I understand what each one is referring to.
0/2000 characters

Save Cancel