Ignoring unreachable host errors
You can ignore a task failure due to the host instance being ‘UNREACHABLE’ with theignore_unreachablekeyword. Ansible ignores the task errors but continues to execute future tasks against the unreachable host. For example, at the task level:
And at the playbook level: