ansible.builtin.unreachable (v2.15.10) — 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.15.10

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 C(True)

Inputs

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

Outputs

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