HI 

I'm checking ping on a few of my groups. I wish to abort the playbook if 
one of the IPs is not reachable - How should I update the playbook 

Thanks 


Playbook 


> - hosts:
      - postgres1
      - kafka
      - repository


  become: true
  gather_facts: False
  tasks:

  - name: Verify that all hosts are reachable
    ping:

 

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a0f09535-1204-43df-9454-dfe1fcfe5da8%40googlegroups.com.

Reply via email to