buluma.test_connection

Ansible Role test_connection

This role allows you to check how to connect to your system.

GitHub Version Issues Pull Requests Downloads
github Version Issues PullRequests Ansible Role

Example Playbook

Here’s an example taken from molecule/default/converge.yml. This example is tested on every update and release.

---
- name: Converge
  hosts: all
  become: true
  gather_facts: true

  roles:
    - role: buluma.test_connection

Make sure the machine is prepared first. In Continuous Integration (CI), this is handled using molecule/default/prepare.yml:

---
- name: Prepare
  hosts: all
  become: true
  gather_facts: false

  roles:
    - role: buluma.bootstrap

You can find a full explanation and example on how to use these roles.

Role Variables

The default values for the variables are defined in defaults/main.yml:

---
# defaults file for test_connection

# Host to save the results to.
test_connection_report_host: localhost

# Directory to save results to.
test_connection_report_directory: /tmp

# Timeout for connection.
test_connection_timeout: 5

Requirements

State of Used Roles

The following roles are used to set up a system. You can set up your system differently if you prefer.

Requirement GitHub Version
buluma.bootstrap Ansible Molecule Version

Context

This role is one of many compatible roles. Check out the documentation for these roles for more details.

Here’s an overview of related roles:

dependencies

Compatibility

This role has been tested on the following container images:

container tags
Alpine all
Amazon 2018.03
EL 8, 9
Debian all
Fedora all
opensuse all
Ubuntu all
Kali all

You need at least Ansible version 2.12. Tests have been conducted on:

  • The previous version.
  • The current version.
  • The development version.

If you find any issues, please report them in GitHub

Changelog

Role History

License

Apache-2.0

Author Information

Shadow Walker

Informazioni sul progetto

Test connection possibilities to your system.

Installa
ansible-galaxy install buluma.test_connection
Licenza
apache-2.0
Download
17.5k
Proprietario
DevOps Engineer