An Ansible Role that manages setup and configuration of an Open vSwitch based VLAN.
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.
None.
- hosts: all
roles:
- nl2go.vlan
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
See the LICENSE.md file for details.
This role was created in 2020 by nl2go team.