Create a playbook that changes the default target on all nodes to multi-user tarqet. Do this in playbook file called target.yml in /home/sandy/ansible
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
15 comments · newest first
KA
Kasandra
12 months ago
I thought the default target was always set to graphical.target by default?
RE
Reita
12 months ago
This looks good, but make sure to test it first!
MA
Maricela
1 year ago
Wait, is changing the default target really safe for all nodes?
KA
Kara
1 year ago
Totally agree, indentation is key in YAML!
LO
Lorean
1 year ago
Just a quick note, the playbook should have the correct indentation.
MO
Mozell
1 year ago
I recall that we need to specify the state as 'link', but I’m not clear if the source path is correct.
LA
Lamonica
1 year ago
I’m a bit confused about the 'file' module here. Is it the right one to use for creating a symlink?
IZ
Izetta
1 year ago
This seems similar to the practice question we did on changing services. I feel like I should double-check the path for the multi-user target.
PR
Precious
1 year ago
I think I remember we need to create a symbolic link for the default target, but I'm not entirely sure about the exact syntax.
EF
Effie
1 year ago
Wait, do I need to include any variables or handlers in this playbook? I want to make sure I'm not missing anything important that could trip me up.
AZ
Azzie
1 year ago
Okay, I think I've got a good strategy for this. I'll create the playbook file in the specified location, then use the file module to create a symlink from the multi-user.target to the default.target. Should be a quick one to knock out.
LA
Launa
1 year ago
This looks straightforward, I think I can handle it. I'll just need to create the playbook file in the right directory and make sure the tasks are set up correctly.
YA
Yaeko
1 year ago
Hmm, I'm a little unsure about this one. Creating a playbook to change the default target seems simple enough, but I want to double-check the syntax and make sure I have the right file path.
EL
Elouise
1 year ago
Ah, I've seen this type of problem before. Setting the same MTU values on both sides of the link is probably the way to go. That's usually the culprit when OSPF neighbors can't synchronize.
AN
Andra
1 year ago
I'm a bit confused on the best way to approach this. Should I create a new role, or edit the default user role? I want to make sure I don't accidentally break anything, so I'll need to review the Splunk documentation carefully before making any changes.