Fix typo in playbooks_error_handling (#31636)
This commit is contained in:
parent
e0c2b6bbb4
commit
8a86746223
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ or based on the return code::
|
||||||
register: diff_cmd
|
register: diff_cmd
|
||||||
failed_when: diff_cmd.rc == 0 or diff_cmd.rc >= 2
|
failed_when: diff_cmd.rc == 0 or diff_cmd.rc >= 2
|
||||||
|
|
||||||
In previous version of Ansible, this can be still be accomplished as follows::
|
In previous version of Ansible, this can still be accomplished as follows::
|
||||||
|
|
||||||
- name: this command prints FAILED when it fails
|
- name: this command prints FAILED when it fails
|
||||||
command: /usr/bin/example-command -x -y -z
|
command: /usr/bin/example-command -x -y -z
|
||||||
|
|
Loading…
Reference in a new issue