From 2478c1d44d8c97cd3b547a6448bd8a3925b1ee03 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 2 Oct 2013 22:03:15 -0400 Subject: [PATCH] Explain error handling section better. --- docsite/latest/rst/playbooks_error_handling.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docsite/latest/rst/playbooks_error_handling.rst b/docsite/latest/rst/playbooks_error_handling.rst index 77d1f58b0fe..873b327b1ee 100644 --- a/docsite/latest/rst/playbooks_error_handling.rst +++ b/docsite/latest/rst/playbooks_error_handling.rst @@ -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