Explain error handling section better.

This commit is contained in:
Michael DeHaan 2013-10-02 22:03:15 -04:00
parent fd3fb24fe8
commit 2478c1d44d

View file

@ -1,6 +1,9 @@
Error Handling In Playbooks Error Handling In Playbooks
=========================== ===========================
Ansible normally has defaults that make sure to check the return codes of commands and modules and
it fails fast -- forcing an error to be dealt with unless you decide otherwise.
y
Sometimes a command that returns 0 isn't an error. Sometimes a command might not always Sometimes a command that returns 0 isn't an error. Sometimes a command might not always
need to report that it 'changed' the remote system. This section describes how to change need to report that it 'changed' the remote system. This section describes how to change
the default behavior of Ansible for certain tasks so output and error handling behavior is the default behavior of Ansible for certain tasks so output and error handling behavior is