Skip to content

nl2go/ansible-role-vlan

 
 

Repository files navigation

Build Status Ansible Galaxy GitHub tag (latest by date) Ansible Galaxy Downloads

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:
    - nl2go.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 nl2go team.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%