mirror of https://github.com/ceph/ceph-ansible.git
53af359c65
The firewall checks can fail for any number of reasons -- e.g., the ceph cluster hostnames are unresolvable from the ansible host, or the ports are filtered by some intermediate hop, etc. Make two changes to make those checks better: * Set pipefail when running the checks, so if nmap itself fails the command will be marked as 'failed'. Specifically, this fixes the case where the hostnames cannot be resolved. * Add a new variable, check_firewall, which can be used to disable checks entirely. Specifically, this fixes the case where some intermediate firewall filters the ports, so nmap returns "filtered". |
||
---|---|---|
.. | ||
agent.sample | ||
all.sample | ||
mdss.sample | ||
mons.sample | ||
osds.sample | ||
restapis.sample | ||
rgws.sample |