Debian Codegraph @

lib/ansible/plugins/test/success.yml

raw
1 DOCUMENTATION:
2 name: success
3 author: Ansible Core
4 version_added: "1.9"
5 short_description: check task success
6 aliases: [succeeded, successful]
7 description:
8 - Tests if task finished successfully, opposite of C(failed).
9 - This test checks for the existence of a C(failed) key in the input dictionary and that it is V(False) if present
10 options:
11 _input:
12 description: registered result from an Ansible task
13 type: dictionary
14 required: True
15 EXAMPLES: |
16 # test 'status' to know how to respond
17 {{ taskresults is success }}
18
19 RETURN:
20 _value:
21 description: Returns V(True) if the task was successfully completed, V(False) otherwise.
22 type: boolean