d8c5c6eb9d
* fixes 65032
17 lines
349 B
YAML
17 lines
349 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
|
|
no switchport trunk native vlan
|
|
with_items:
|
|
- Ethernet1
|
|
- Ethernet2
|
|
become: yes
|