Role for testing reachability of remote tcp ports of ansible connections for each host.
For ssh
/paramiko
/smart
connection, use ansible_port
or 22 port,
for winrm
connection, use ansible_port
or 5985/5986,
for funcd
connection, use 51234,
for other local or local container connection, just skip checking.
python modules:
- ansible>=2.8
- jinja2>=2.6
For ansible < 2.8, use version 1.0.1. For ansible < 2.0, use version 0.0.1.
No.
gzm55.require_implicity_localhost
gzm55.require_disabe_become
gzm55.local_id_plugin
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
gather_facts: False
roles:
- gzm55.reachable
BSD