From 258d2058cdb809cdbce9f222bf91730d6e6022f9 Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Tue, 18 Jul 2017 00:17:15 +0200 Subject: Remove enable EAPI from prepare_eos_tests (#26910) Enabling EAPI is not common on CLI *and* EAPI tests, therefore enabling it should be put at the eapi.yaml task level. --- test/integration/targets/eos_user/tasks/eapi.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test/integration/targets/eos_user') diff --git a/test/integration/targets/eos_user/tasks/eapi.yaml b/test/integration/targets/eos_user/tasks/eapi.yaml index 068881ab1b..45ad3433a7 100644 --- a/test/integration/targets/eos_user/tasks/eapi.yaml +++ b/test/integration/targets/eos_user/tasks/eapi.yaml @@ -8,8 +8,20 @@ - name: set test_items set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" +- name: enable eapi + eos_eapi: + http: yes + https: yes + local_http: no + enable_socket: yes + provider: "{{ cli }}" + - name: run test case include: "{{ test_case_to_run }}" with_items: "{{ test_items }}" loop_control: loop_var: test_case_to_run + +- name: disable eapi + eos_eapi: + state: stopped -- cgit v1.2.1