mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Update example syntax in playbooks_error_handling.rst. (#35675)
This commit is contained in:
committed by
John R Barker
parent
3fe6de475b
commit
6179bd378c
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user