knowledge/technology/tools/Ansible/tests/ansible.builtin.success.md

8 lines
226 B
Markdown
Raw Permalink Normal View History

2023-12-04 10:02:23 +00:00
# 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 }}
```