Hi All,
How does Ansible decide whether the command issued through it is successfully executed? Is rc value is the ansible response related to this?
Hi All,
How does Ansible decide whether the command issued through it is successfully executed? Is rc value is the ansible response related to this?
Depends on the module, many just use system calls and don't run
external commands. For the command/shell ones that execute unix
commands, yes, rc is looked at.