summaryrefslogtreecommitdiff
path: root/test/integration/targets/nxos_config/tests/nxapi/toplevel_before.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/nxos_config/tests/nxapi/toplevel_before.yaml')
-rw-r--r--test/integration/targets/nxos_config/tests/nxapi/toplevel_before.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/targets/nxos_config/tests/nxapi/toplevel_before.yaml b/test/integration/targets/nxos_config/tests/nxapi/toplevel_before.yaml
index a67530773b..98ff2e6a44 100644
--- a/test/integration/targets/nxos_config/tests/nxapi/toplevel_before.yaml
+++ b/test/integration/targets/nxos_config/tests/nxapi/toplevel_before.yaml
@@ -7,11 +7,13 @@
- "snmp-server contact ansible"
- "hostname switch"
match: none
+ provider: "{{ connection }}"
- name: configure top level command with before
nxos_config:
lines: hostname foo
before: snmp-server contact bar
+ provider: "{{ connection }}"
register: result
- assert:
@@ -24,6 +26,7 @@
nxos_config:
lines: hostname foo
before: snmp-server contact foo
+ provider: "{{ connection }}"
register: result
- assert:
@@ -36,5 +39,6 @@
- "no snmp-server contact ansible"
- "hostname switch"
match: none
+ provider: "{{ connection }}"
- debug: msg="END nxapi/toplevel_before.yaml"