ansible.builtin.unreachable (v2.16.5) — test

Did task end due to the host was unreachable

| "added in version" 1.9 of ansible.builtin"

Authors: Ansible Core

Install Ansible via pip

Install with pip install ansible-core==2.16.5

Description

Tests if task was not able to reach the host for execution

This test checks for the existance of a C(unreachable) key in the input dictionary and that it's value is V(True)

Inputs

    
_input:
    description: registered result from an Ansible task
    required: true
    type: dictionary

Outputs

_value:
  description: Returns V(True) if the task flagged the host as unreachable, V(False)
    otherwise.
  type: boolean