summaryrefslogtreecommitdiff
path: root/test/integration/targets/nxos_lldp/tasks/nxapi.yaml
diff options
context:
space:
mode:
authorNathaniel Case <this.is@nathanielca.se>2018-06-05 07:37:24 -0400
committerGitHub <noreply@github.com>2018-06-05 07:37:24 -0400
commit02135d52785ae53007eac5b43c62858163cd020a (patch)
treedefee819502a449892fb0d6aafef76c349e8b0a7 /test/integration/targets/nxos_lldp/tasks/nxapi.yaml
parent6349932fffeced70d49067686a2c2673f141d226 (diff)
downloadansible-02135d52785ae53007eac5b43c62858163cd020a.tar.gz
Nxos test reorganize (#41089)
* Remove local from most cli tests * Readd local tests to nxapi until httpapi passes
Diffstat (limited to 'test/integration/targets/nxos_lldp/tasks/nxapi.yaml')
-rw-r--r--test/integration/targets/nxos_lldp/tasks/nxapi.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/integration/targets/nxos_lldp/tasks/nxapi.yaml b/test/integration/targets/nxos_lldp/tasks/nxapi.yaml
index 653bcfefe9..04c99602e6 100644
--- a/test/integration/targets/nxos_lldp/tasks/nxapi.yaml
+++ b/test/integration/targets/nxos_lldp/tasks/nxapi.yaml
@@ -21,7 +21,13 @@
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}"
- name: run test cases (connection=httpapi)
- include: "{{ test_case_to_run }} ansible_connection=httpapi"
+ include: "{{ test_case_to_run }} ansible_connection=httpapi connection={{ nxapi }}"
+ with_items: "{{ test_items }}"
+ loop_control:
+ loop_var: test_case_to_run
+
+- name: run test cases (connection=local)
+ include: "{{ test_case_to_run }} ansible_connection=local connection={{ nxapi }}"
with_items: "{{ test_items }}"
loop_control:
loop_var: test_case_to_run