d9ffc61539
* Add module files for l2_interfaces * Add module_utils * Add tests * Deprecate eos_l2_interface * Clean up tests so eos_vlan will still pass
16 lines
309 B
YAML
16 lines
309 B
YAML
---
|
|
- name: Remove all vlans
|
|
cli_config:
|
|
config: no vlan 1-4094
|
|
become: yes
|
|
|
|
- name: Completely remove vlans from interfaces
|
|
cli_config:
|
|
config: |
|
|
interface {{ item }}
|
|
no switchport mode
|
|
no switchport access vlan
|
|
with_items:
|
|
- Ethernet1
|
|
- Ethernet2
|
|
become: yes
|