1
0
Fork 0
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:
Trishna Guha 2018-02-07 12:48:02 +05:30 committed by GitHub
parent 95188ed35c
commit a8e14a35de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"