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:
Nathaniel Case 2018-01-05 17:01:45 -05:00 committed by GitHub
commit c5d0b15160
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 103 additions and 45 deletions

View file

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

View file

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