summaryrefslogtreecommitdiff
path: root/test/integration/targets/eos_interfaces/tasks/main.yaml
diff options
context:
space:
mode:
authorNathaniel Case <ncase@redhat.com>2020-01-14 14:26:10 -0500
committerGitHub <noreply@github.com>2020-01-14 14:26:10 -0500
commite266e5f8b64c344fe7b9d711afe11c32e07954fa (patch)
treefafc2c99a111fa3d0b7dd4ba36a4f7788865740f /test/integration/targets/eos_interfaces/tasks/main.yaml
parent6044325dec4c517176ba13b75097c60257ee3e30 (diff)
downloadansible-e266e5f8b64c344fe7b9d711afe11c32e07954fa.tar.gz
Allow httpapi for resource modules (#62843)
* Redo tests to be transport agnostic cli -> eos config Redirect connection for httpapi
Diffstat (limited to 'test/integration/targets/eos_interfaces/tasks/main.yaml')
-rw-r--r--test/integration/targets/eos_interfaces/tasks/main.yaml18
1 files changed, 2 insertions, 16 deletions
diff --git a/test/integration/targets/eos_interfaces/tasks/main.yaml b/test/integration/targets/eos_interfaces/tasks/main.yaml
index 068963b4c3..970e74171e 100644
--- a/test/integration/targets/eos_interfaces/tasks/main.yaml
+++ b/test/integration/targets/eos_interfaces/tasks/main.yaml
@@ -1,17 +1,3 @@
---
-- name: collect all cli test cases
- find:
- paths: "{{ role_path }}/tests/cli"
- patterns: "{{ testcase }}.yaml"
- delegate_to: localhost
- register: test_cases
-
-- name: set test_items
- set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}"
-
-- name: run test cases (connection=network_cli)
- include: "{{ test_case_to_run }} ansible_connection=network_cli"
- with_items: "{{ test_items }}"
- loop_control:
- loop_var: test_case_to_run
- tags: connection_network_cli
+- { include: cli.yaml, tags: ['cli'] }
+- { include: eapi.yaml, tags: ['eapi'] }