Create a playbook called packages.yml that:
----------------------------------------------
--> Installs the php and mariadb packages on hosts in the dev, test, and prod host
groups.
--> Installs the Development Tools package group on hosts in the dev host group.
--> Updates all packages to the latest version on hosts in the dev host group.
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
29 comments · newest first
JA
Jame
11 months ago
Just a heads up, make sure the hosts are properly defined in your inventory!
RA
Rasheeda
12 months ago
Solid playbook, but why not use `apt` for Debian-based systems?
JE
Jerry
12 months ago
Wait, why exclude kernel packages? Seems risky.
RA
Raelene
1 year ago
Agree, using `state: latest` is the way to go.
FI
Filiberto
1 year ago
Looks good, but don't forget to check the syntax!
ED
Eden
1 year ago
I think the playbook structure looks right, but I'm a bit confused about how to handle the `hosts` declaration for the Development Tools installation. Should it be separate?
ES
Estrella
1 year ago
I believe we should definitely include the `exclude` option for the kernel packages when updating, but I wonder if there are other packages we should exclude as well.
MA
Marisha
1 year ago
I practiced a similar question where we had to install multiple packages, but I can't recall if we used `vars` correctly in this context.
JA
Jarod
1 year ago
I think I remember that we need to use the `yum` module for installing packages, but I'm not entirely sure about the syntax for the `state` parameter.
SH
Shanda
1 year ago
The playbook structure looks good. I like how they're using variables for the package names. That'll make it easy to update in the future.
JO
Josphine
1 year ago
Okay, I see we need to install packages on different host groups. The tasks look clear, but I'm a bit unsure about the "state: latest" part. Does that mean it will update all the packages?
SA
Sabine
1 year ago
Hmm, not sure about the "hosts" line. Do we need to specify the host groups explicitly or can we just use "all"?
JU
Justine
1 year ago
This looks like a pretty straightforward Ansible playbook. I think I can handle this.
LA
Lawrence
1 year ago
This is a good example of using Ansible to manage packages across different environments. I think I've got a handle on how to approach this type of question.
YV
Yvonne
1 year ago
This seems like a pretty straightforward question. The users need a single screen in a model-driven app, so I think the answer is to modify the site map. That should give me the functionality I need to configure the app correctly.
GR
Gregoria
1 year ago
I'm a bit confused by all the TOGAF terminology in this question. I'll need to review my notes on the TOGAF ADM to make sure I understand the different steps and deliverables they're asking about.
LA
Latanya
1 year ago
I think the answer is B. Step Over allows you to bypass a node without single-stepping through it.
JU
Junita
2 years ago
So, we just follow the solution provided and create the playbook accordingly.
PA
Paul
2 years ago
Yes, and don't forget we also have to install the Development Tools on the dev host group.
AL
Alpha
2 years ago
The playbook also needs to update all packages to the latest version on the dev hosts, right?
JU
Junita
2 years ago
I believe we have to specify the packages like php and mariadb to be installed on different host groups.
PA
Paul
2 years ago
I think we need to use the yaml format to define the tasks and hosts.
AL
Alpha
2 years ago
I have no idea how to create a playbook for this.
LO
Lorrine
2 years ago
Got it, thanks for clarifying the importance of updating packages. I feel more confident now.
HA
Hana
2 years ago
Yes, updating packages regularly can help prevent vulnerabilities and ensure smooth operation of the system.
MU
Muriel
2 years ago
I believe it's important to keep all packages up to date for security and performance reasons.
LO
Lorrine
2 years ago
I'm a bit confused about the part where we need to update all packages on hosts in the dev group.
HA
Hana
3 years ago
I agree, but the solution provided looks clear and straightforward.
MU
Muriel
3 years ago
I think the question about creating a playbook called packages.yml seems tricky.