You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/eos_l2_interfaces/tests/cli/cleanup.yml

17 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