PdfPrep.com

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