mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
always remove interface after testing (#35822)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
@@ -77,4 +77,13 @@
|
||||
provider: "{{ connection }}"
|
||||
ignore_errors: yes
|
||||
|
||||
- name: "Remove interface aggregate after testing"
|
||||
nxos_l2_interface:
|
||||
aggregate:
|
||||
- { name: "{{ intname1 }}", mode: access, access_vlan: 6 }
|
||||
- { name: "{{ intname2 }}", mode: access, access_vlan: 15 }
|
||||
state: absent
|
||||
provider: "{{ connection }}"
|
||||
ignore_errors: yes
|
||||
|
||||
- debug: msg="END connection={{ ansible_connection }} nxos_l2_interface aggregate test"
|
||||
|
||||
Reference in New Issue
Block a user