Debian Codegraph @

lib/ansible/plugins/test/reachable.yml

raw
1 DOCUMENTATION:
2 name: reachable
3 author: Ansible Core
4 version_added: "1.9"
5 short_description: Task did not end due to unreachable host
6 description:
7 - Tests if task was able to reach the host for execution
8 - This test checks for the existence of a C(unreachable) key in the input dictionary and that it is V(False) if present
9 options:
10 _input:
11 description: registered result from an Ansible task
12 type: dictionary
13 required: True
14 EXAMPLES: |
15 # test 'status' to know how to respond
16 {{ taskresults is reachable }}
17
18 RETURN:
19 _value:
20 description: Returns V(True) if the task did not flag the host as unreachable, V(False) otherwise.
21 type: boolean