Skip to content

Instantly share code, notes, and snippets.

@IPvSean
Created January 9, 2018 13:59
Show Gist options
  • Save IPvSean/e0b1958ade8137629754e803c4ef03fa to your computer and use it in GitHub Desktop.
Save IPvSean/e0b1958ade8137629754e803c4ef03fa to your computer and use it in GitHub Desktop.
---
- hosts: arista
remote_user: admin
become: yes
become_method: enable
vars:
ansible_network_os: "eos"
tasks:
- eos_vlan:
state: active
aggregate:
- { vlan_id: 1, name: default }
- { vlan_id: 2, name: Vl2 }
- { vlan_id: 3, state: suspend }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment