Fix typo in playbooks_error_handling (#31636)

pull/31688/head
wxdao 7 years ago committed by scottb
parent e0c2b6bbb4
commit 8a86746223

@ -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…
Cancel
Save