always remove interface after testing (#35822)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
pull/35824/head
Trishna Guha 7 years ago committed by GitHub
parent 95188ed35c
commit a8e14a35de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -77,4 +77,13 @@
provider: "{{ connection }}" provider: "{{ connection }}"
ignore_errors: yes 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" - debug: msg="END connection={{ ansible_connection }} nxos_l2_interface aggregate test"

Loading…
Cancel
Save