successful¶
Collection Note
This module is part of the ansible.builtin collection. To install the collection, use:
Added in version1.9.
Synopsis¶
- Tests if task finished successfully, opposite of C(failed).
- This test checks for the existence of a C(failed) key in the input dictionary and that it is V(False) if present
Parameters¶
| Parameter | Defaults / Choices | Comments |
|---|---|---|
| _input dictionary required |
registered result from an Ansible task |
Examples¶
Return Values¶
| Key | Data Type | Description | Returned |
|---|---|---|---|
| _value | boolean | Returns V(True) if the task was successfully completed, V(False) otherwise. |
Authors¶
- Ansible Core