vlan
Ansible Role: VLAN
An Ansible Role that manages setup and configuration of an Open vSwitch based VLAN.
Role Variables
Available variables listed below, along with default values (see defaults/main.yml
):
vlan_group: all
Host group the VLAN configuration should be applied to.
vlan_ip: 172.0.0.1
Host IP within the VLAN.
vlan_interface: vlan0
VLAN interface name.
vlan_netmask: 255.255.255.0
VLAN subnet netmask.
vlan_transport_interface: "{{ ansible_default_ipv4.interface }}"
VLAN physical transport interface.
Dependencies
None.
Example Playbook
- hosts: all
roles:
- infrastructr.vlan
Development
Use docker-molecule following the instructions to run Molecule or install Molecule locally (not recommended, version conflicts might appear).
Provide Hetzner Cloud token:
export HCLOUD_TOKEN=123abc456efg
Use following to run tests:
molecule test --all
Maintainers
License
See the LICENSE.md file for details.
Author Information
This role was created in 2020 by infrastructr team.
About
An Ansible Role that manages setup and configuration of an [Open vSwitch](https://www.openvswitch.org) based VLAN.
Install
ansible-galaxy install infrastructr/ansible-role-vlan
License
mit
Downloads
204
Owner