mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Fixes nxos_l2_interface tests (#34514)
* Update nxos tests that got missed in the first pass * Add setup for setting interfaces to layer2
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
---
|
||||
- debug: msg="START {{ connection.transport }}/set_state_absent.yaml"
|
||||
- debug: msg="START connection={{ ansible_connection }}/set_state_absent.yaml"
|
||||
- debug: msg="Using provider={{ connection.transport }}"
|
||||
when: ansible_connection == "local"
|
||||
|
||||
- name: setup
|
||||
nxos_config:
|
||||
@@ -29,4 +31,4 @@
|
||||
that:
|
||||
- "result.changed == false"
|
||||
|
||||
- debug: msg="END {{ connection.transport }}/set_state_absent.yaml"
|
||||
- debug: msg="END connection={{ ansible_connection }}/set_state_absent.yaml"
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
---
|
||||
- debug: msg="START {{ connection.transport }}/set_state_present.yaml"
|
||||
- debug: msg="START connection={{ ansible_connection }}/set_state_present.yaml"
|
||||
- debug: msg="Using provider={{ connection.transport }}"
|
||||
when: ansible_connection == "local"
|
||||
|
||||
- name: setup
|
||||
nxos_config:
|
||||
@@ -32,4 +34,4 @@
|
||||
that:
|
||||
- "result.changed == false"
|
||||
|
||||
- debug: msg="END {{ connection.transport }}/set_state_present.yaml"
|
||||
- debug: msg="END connection={{ ansible_connection }}/set_state_present.yaml"
|
||||
|
||||
Reference in New Issue
Block a user