vlan

molecule_test

Example Ansible role for testing with molecule.

GitHub Version Ansible Galaxy Quality Downloads
github Version role quality downloads

Example Playbook

This example is taken from molecule/resources/converge.yml and is tested on each push, pull request and release.

---
- name: Converge
  hosts: all
  become: yes
  gather_facts: no

  roles:
    - role: mesdag.molecule_test

Role Variables

These variables are set in defaults/main.yml:

---
# defaults file for molecule_test

# The user to use to connect to machines.
molecule_test_user: root

# Do you want to wait for the host to be available?
molecule_test_wait_for_host: no

# The number of seconds you want to wait during connection test before failing.
molecule_test_timeout: 3

Dependencies

Overview of role dependencies:

dependencies

Requirements

Compatibility

This role has been tested on these container images:

container tags
amazon Candidate
el 7, 8
debian all
fedora all
opensuse all
ubuntu focal, bionic

The minimum version of Ansible required is 2.10, tests have been done to:

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

Exceptions

Some variarations of the build matrix do not work. These are the variations and reasons why the build won't work:

variation reason
alpine:edge Failed to create temporary directory.

If you find issues, please register them in GitHub

License

Apache-2.0

About

Configure vlan on nic.

Install
ansible-galaxy install ucomesdag/ansible-role-vlan
GitHub repository
License
apache-2.0
Downloads
19
Owner