diff --git a/test/integration/targets/nxos_l2_interface/tests/common/agg.yaml b/test/integration/targets/nxos_l2_interface/tests/common/agg.yaml index 36b4ff7dc2b..b7c1b04dc14 100644 --- a/test/integration/targets/nxos_l2_interface/tests/common/agg.yaml +++ b/test/integration/targets/nxos_l2_interface/tests/common/agg.yaml @@ -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"