ANSIBLE.ARISTA_VLAN(3)

NAME
arista_vlan - Manage VLAN resources

DESCRIPTION

Manage VLAN resources on Arista EOS network devices. This module requires the Netdev EOS extension to be installed in EOS. For detailed instructions for installing and using the Netdev module please see [link]

OPTIONS

logging
    enables or disables the syslog facility for this module Choices: true,false,yes,no.

name
    a descriptive name for the vlan

state
    describe the desired state of the vlan related to the config Choices: present,absent. (default: present)

vlan_id
    the vlan id(required).

NOTES

Requires EOS 4.10 or later

The Netdev extension for EOS must be installed and active in the available extensions (show extensions from the EOS CLI)

See http://eos.aristanetworks.com for details

EXAMPLES
Example playbook entries using the arista_vlan module to manage resource
state.

  tasks:
  - name: create vlan 999
    action: arista_vlan vlan_id=999 logging=true

  - name: create / edit vlan 999
    action: arista_vlan vlan_id=999 name=test logging=true

  - name: remove vlan 999
    action: arista_vlan vlan_id=999 state=absent logging=true

AUTHOR
Peter Sprygada

SEE ALSO
ansible(1), http://ansible.github.com/modules.html#arista-vlan