community.network.dladm_vlan – Manage VLAN interfaces on Solaris/illumos systems.¶
Note
This plugin is part of the community.network collection (version 2.1.1).
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.dladm_vlan
.
Parameters¶
Examples¶
- name: Create 'vlan42' VLAN over 'bnx0' link
community.network.dladm_vlan: name=vlan42 link=bnx0 vlan_id=42 state=present
- name: Remove 'vlan1337' VLAN interface
community.network.dladm_vlan: name=vlan1337 state=absent
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Adam Števko (@xen0l)