Skip to content

Instantly share code, notes, and snippets.

@vic501
vic501 / playbook.yml
Created March 4, 2023 05:38 — forked from t04glovern/playbook.yml
Ansible ignore all future tasks for unreachable hosts
---
- name: Identify reachable hosts
hosts: all
connection: local
gather_facts: false
tasks:
- block:
- name: determine hosts that are reachable
ansible.builtin.wait_for_connection: