From 6179bd378c9ca30a35a267f67da9abacc16c3a8c Mon Sep 17 00:00:00 2001 From: Joshua Smith Date: Sat, 3 Feb 2018 06:29:58 -0500 Subject: [PATCH] Update example syntax in playbooks_error_handling.rst. (#35675) --- docs/docsite/rst/playbooks_error_handling.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docsite/rst/playbooks_error_handling.rst b/docs/docsite/rst/playbooks_error_handling.rst index 473adb5fa3c..8da183a2369 100644 --- a/docs/docsite/rst/playbooks_error_handling.rst +++ b/docs/docsite/rst/playbooks_error_handling.rst @@ -89,7 +89,8 @@ In previous version of Ansible, this can still be accomplished as follows:: ignore_errors: True - name: fail the play if the previous command did not succeed - fail: msg="the command failed" + fail: + msg: "the command failed" when: "'FAILED' in command_result.stderr" .. _override_the_changed_result: