summaryrefslogtreecommitdiff
path: root/test/integration/targets/nxos_system
diff options
context:
space:
mode:
authorNathaniel Case <this.is@nathanielca.se>2018-01-05 17:01:45 -0500
committerGitHub <noreply@github.com>2018-01-05 17:01:45 -0500
commitc5d0b151609e10c195843821d90a52a460f9869c (patch)
tree258b5238844ea9a7df210725c466db48eb8fc472 /test/integration/targets/nxos_system
parente9bb5da37ef07065d8d5e8ab02afac28a0acd7ec (diff)
downloadansible-c5d0b151609e10c195843821d90a52a460f9869c.tar.gz
Fixes nxos_l2_interface tests (#34514)
* Update nxos tests that got missed in the first pass * Add setup for setting interfaces to layer2
Diffstat (limited to 'test/integration/targets/nxos_system')
-rw-r--r--test/integration/targets/nxos_system/tests/common/set_hostname.yaml6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/integration/targets/nxos_system/tests/common/set_hostname.yaml b/test/integration/targets/nxos_system/tests/common/set_hostname.yaml
index 902452c169..a5d5eafab7 100644
--- a/test/integration/targets/nxos_system/tests/common/set_hostname.yaml
+++ b/test/integration/targets/nxos_system/tests/common/set_hostname.yaml
@@ -1,5 +1,7 @@
---
-- debug: msg="START {{ connection.transport }}/set_hostname.yaml"
+- debug: msg="START connection={{ ansible_connection }}/set_hostname.yaml"
+- debug: msg="Using provider={{ connection.transport }}"
+ when: ansible_connection == "local"
- name: setup
nxos_config:
@@ -33,4 +35,4 @@
match: none
provider: "{{ connection }}"
-- debug: msg="END {{ connection.transport }}/set_hostname.yaml"
+- debug: msg="END connection={{ ansible_connection }}/set_hostname.yaml"