mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
always remove interface after testing (#35822)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
95188ed35c
commit
a8e14a35de
1 changed files with 9 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue