summaryrefslogtreecommitdiff
path: root/test/integration/targets/nxos_portchannel
diff options
context:
space:
mode:
authorNathaniel Case <this.is@nathanielca.se>2018-05-17 18:47:15 -0400
committerGitHub <noreply@github.com>2018-05-17 18:47:15 -0400
commite9d7fa04181e91effad9fbfa2026e3994d695776 (patch)
tree7806f47c4042be67f2148fed61dc0a30ef0b5229 /test/integration/targets/nxos_portchannel
parentcc61c860492d3165a68b4c3361bac900d29613d2 (diff)
downloadansible-e9d7fa04181e91effad9fbfa2026e3994d695776.tar.gz
HTTP(S) API connection plugin (#39224)
* HTTPAPI connection * Punt run_commands to cliconf or httpapi * Fake enable_mode on eapi * Pull changes to nxos * Move load_config to edit_config for future-preparedness * Don't fail on lldp disabled * Re-enable check_rc on nxos' run_commands * Reorganize nxos httpapi plugin for compatibility * draft docs for connection: httpapi * restores docs for connection:local for eapi * Add _remote_is_local to httpapi
Diffstat (limited to 'test/integration/targets/nxos_portchannel')
-rw-r--r--test/integration/targets/nxos_portchannel/tasks/nxapi.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/targets/nxos_portchannel/tasks/nxapi.yaml b/test/integration/targets/nxos_portchannel/tasks/nxapi.yaml
index 68e96a2942..653bcfefe9 100644
--- a/test/integration/targets/nxos_portchannel/tasks/nxapi.yaml
+++ b/test/integration/targets/nxos_portchannel/tasks/nxapi.yaml
@@ -1,5 +1,5 @@
---
-- name: collect common nxapi test cases
+- name: collect common test cases
find:
paths: "{{ role_path }}/tests/common"
patterns: "{{ testcase }}.yaml"
@@ -20,8 +20,8 @@
- name: set test_items
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}"
-- name: run test cases (connection=local)
- include: "{{ test_case_to_run }} ansible_connection=local connection={{ nxapi }}"
+- name: run test cases (connection=httpapi)
+ include: "{{ test_case_to_run }} ansible_connection=httpapi"
with_items: "{{ test_items }}"
loop_control:
loop_var: test_case_to_run