Which Ansible keyword is used in a playbook to store the result (i.e. return code) of a task in a variable?

Posted by: Pdfprep Category: 701-100 Tags: , ,

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

Leave a Reply

Your email address will not be published.