Skip to content

Role for testing reachability of ssh ports for each host.

Notifications You must be signed in to change notification settings

gzm55/ansible-reachable-role

Repository files navigation

Build Status

reachable (2.0.0)

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.

Requirements

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.

Role Variables

No.

Dependencies

  • gzm55.require_implicity_localhost
  • gzm55.require_disabe_become
  • gzm55.local_id_plugin

Example Playbook

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

License

BSD

About

Role for testing reachability of ssh ports for each host.

Resources

Stars

Watchers

Forks

Packages

No packages published