knowledge/technology/tools/Ansible/tests/ansible.builtin.success.md
2023-12-04 11:02:23 +01:00

8 lines
No EOL
226 B
Markdown

# ansible.builtin.success
Tests if task finished successfully, opposite of `failed`. Input is a registered result from an Ansible task.
## Example
```yml
# test 'status' to know how to respond
{{ taskresults is success }}
```