community.network.slxos_vlan – Manage VLANs on Extreme Networks SLX-OS network devices
This plugin is part of the community.network collection (version 3.0.0).
You might already have this collection installed if you are using the
It is not included in
To check whether it is installed, run
ansible-galaxy collection list.
To install it, use:
ansible-galaxy collection install community.network.
To use it in a playbook, specify:
- name: Create vlan community.network.slxos_vlan: vlan_id: 100 name: test-vlan state: present - name: Add interfaces to VLAN community.network.slxos_vlan: vlan_id: 100 interfaces: - Ethernet 0/1 - Ethernet 0/2 - name: Delete vlan community.network.slxos_vlan: vlan_id: 100 state: absent