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

226 B

ansible.builtin.success

Tests if task finished successfully, opposite of failed. Input is a registered result from an Ansible task.

Example

# test 'status' to know how to respond
{{ taskresults is success }}