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:
question number 4s answer is 3, option c. i
very good questions
i am confused about the answers to the questions. are the answers correct?
very usefull
need certification.
great exam prep
i require dump
good morning, could you please upload this exam again,
hi can you please upload the dumps for sap contingent module. thanks
good questions
looking forward to the real exam
good ones for exam preparation
this is a good experience
hi everyone
waiting for the dump. please upload.
upload cks exam questions
awesome training material
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
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.