Which Ansible keyword is used in a playbook to store the result (i.e. return code) of a task in a variable?
Which Ansible keyword is used in a playbook to store the result (i.e. return code) of a task in a variable?
A . register
B . return
C . output
D . result
E . set_fact
Answer: A
Explanation: https://docs.ansible.com/ansible/2.5/user_guide/playbooks_conditionals.html
Latest 701-100 Practice Questions with 60 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments