Consider the following playbook:# playbook name: /home/ansible/web.yml --- - hosts: webservers become: yes tasks: - name: edit file 1 lineinfile: path: /var/www/content.hml line: "{{ text }}" tags: - content - name: edit file 2 lineinfile: path: /var/www/index.hml line: "{{ text }}" tags: - web - name: edit file 3 lineinfile: path: /var/www/etc.hml line: "{{ text }}" tags: - content - misc Which use of the ansible-playbook command on the provided playbook will result in ONLY editing the file /var/ www/index.html?
Answer(s): C
This command skips the two tasks editing other files and only allows the task that is editing /var/www/index.html to run.
What keyword sets a change condition for a given task?
Which line instructs ansible to install httpd?
Answer(s): A
The yum module is an appropriate way to install software
Which keywords are valid? (Choose all that apply.)
Answer(s): B,C,D
Always is a valid keyword that is part of the block group error handling set of keywords. Block is a valid keyword that is part of the block group error handling set of keywords.
What does the when keyword do?
Answer(s): B
Share your comments for RedHat EX407 exam with other users:
great for prep
i think in question 7 the first answer should be power bi portal (not power bi)
on question 10 and so far 2 wrong answers as evident in the included reference link.
wonderful material
i passed!! ...but barely! got 728, but needed 720 to pass. the exam hit me with labs right out of the gate! then it went to multiple choice. protip: study the labs!
correct answer for question 92 is c -aws shield
great !! it is really good
explanations for the answers are to the point.
how can rea next
question: 128 d is the wrong answer...should be c
thanks for az 700 dumps
thank you for this tableau dumps . it will helpfull for tableau certification
good content
just testing if the comments are real
very helpful for exam preparation
question 11: https://help.salesforce.com/s/articleview?id=sf.admin_lead_to_patient_setup_overview.htm&type=5
i think the answer to question 42 is b not c
thanks for the dump
fantastic assessments
i find the xengine test engine simulator to be more fun than reading from pdf.
nice document
thank you for making the questions and answers intractive and selectable.
answers are correct?
can i belive this dump
great site to practice for sitecore exam
good for students
nice practice dumps
nokia 4a0-114 dumps
great content and wonderful to have the answers with explanation
for question #118, the answer is option c. the screen shot is showing the drop down, but the answer is marked incorrectly please update . thanks for sharing such nice questions.
the correct answer for the question 29 is d.
question no 22: correct answers: bc, 1 per session 1 per page 1 per component always
these are pretty useful
awesome
Keeping this site free takes real effort. We constantly battle automated scraping and unauthorized content copying. A quick account helps us protect the community and keep the site free.
To continue studying for your EX407, please sign in or create a free account.