af3603f9ee
While this does properly pass our testing for ansible/ansible devel
branch, it is currently breaking our collection testing for 2.10.
Specifically, this would mean ansible.netcommon would need to directly
import arista.eos or cisco.nxos collections, causing a circular dependency.
This reverts commit e266e5f8b6
.
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
|