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:
where is dump
q. 289 - the correct answer should be b not d, since the question asks for the most secure way to provide access to a s3 bucket (a single one), and by principle of the least privilege you should not be giving access to all buckets.
please i need if possible h12-831,
good collection of questions and solution for pl500 certification
i would like to appear the exam.
i am very happy as i cleared my comptia a+ 220-1101 exam. i studied from as it has all exam dumps and mock tests available. i got 91% on the test.
need this dump
its really good to eventuate knowledge before appearing for the actual exam.
this is great
please i want the questions to pass the exam
i need to pass exam
great, i appreciate it.
please could you upload (isc)2 certified in cybersecurity (cc) exam questions
good questions, wrong answers
im preparing for exams
question no: 42 isnt azure vm an iaas solution? so, shouldnt the answer be "no"?
im study azure
i need this now
i took the aws saa-c03 test and scored 935/1000. it has all the exam dumps and important info.
good questions
well explained
i got the full version and it helped me pass the exam. pdf version is very good.
provide the download link, please
please upload thank.
please can you share 1z0-1055-22 dump pls
i will wait impatiently. thank youu
is it possible to clear the exam if we focus on only these 156 questions instead of 623 questions? kindly help!
really helped with preparation of my scrum exam
very informative and through explanations
prep for exam
thanks for helping us
i prepared for the eccouncil 350-401 exam. i scored 92% on the test.
aba questions to practice
great content
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.