Trap "gather_facts: yes" failure

Posted on

When I call my play against 600+ RHEL6/7 hosts, invariably there will be a few servers that will be unreachable. I would like to figure out how to allow the play to just emit a debug message (Host {{ inventory_hostname }} is unreachable) and quit instead of failing for that host.

Any ideas here?

Thank you,
Doug

Responses