mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Explain error handling section better.
This commit is contained in:
parent
fd3fb24fe8
commit
2478c1d44d
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
|||
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
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue