https://github.com/ucomesdag/ansible-role-vlan
Configure vlan on nic.
https://github.com/ucomesdag/ansible-role-vlan
ansible role vlan
Last synced: 7 months ago
JSON representation
Configure vlan on nic.
- Host: GitHub
- URL: https://github.com/ucomesdag/ansible-role-vlan
- Owner: ucomesdag
- License: apache-2.0
- Created: 2022-02-14T14:55:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-02T10:11:36.000Z (about 1 year ago)
- Last Synced: 2025-01-13T22:18:15.400Z (9 months ago)
- Topics: ansible, role, vlan
- Homepage: https://mesd.ag/
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# [molecule_test](#molecule_test)
Example Ansible role for testing with molecule.
|GitHub|Version|Ansible Galaxy|Quality|Downloads|
|------|-------|--------------|-------|---------|
|[](https://github.com/ucomesdag/ansible-role-molecule_test/actions)|[](https://github.com/ucomesdag/ansible-role-molecule_test/releases/)|[](https://galaxy.ansible.com/ucomesdag/molecule_test)|[](https://galaxy.ansible.com/ucomesdag/molecule_test)|[](https://galaxy.ansible.com/ucomesdag/molecule_test)|## [Example Playbook](#example-playbook)
This example is taken from `molecule/resources/converge.yml` and is tested on each push, pull request and release.
```yaml
---
- name: Converge
hosts: all
become: yes
gather_facts: noroles:
- role: mesdag.molecule_test
```## [Role Variables](#role-variables)
These variables are set in `defaults/main.yml`:
```yaml
---
# 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](#dependencies)
Overview of role dependencies:

## [Requirements](#role-requirements)
- pip packages listed in [requirements.txt](https://github.com/ucomesdag/ansible-role-molecule_test/blob/master/requirements.txt).
## [Compatibility](#compatibility)
This role has been tested on these [container images](https://quay.io/user/ucomesdag):
|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](#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](https://github.com/ucomesdag/ansible-role-molecule_test/issues)
## [License](#license)
Apache-2.0