diff options
author | Ricardo Carrillo Cruz <ricardo.carrillo.cruz@gmail.com> | 2017-07-18 00:17:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-18 00:17:15 +0200 |
commit | 258d2058cdb809cdbce9f222bf91730d6e6022f9 (patch) | |
tree | 941bd4d34a1b67e9890d5a85bd9dcafd8e9e8b98 /test/integration/targets/eos_user | |
parent | 290d84f90437044e4bb35c0a603519296d525f42 (diff) | |
download | ansible-258d2058cdb809cdbce9f222bf91730d6e6022f9.tar.gz |
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.
Diffstat (limited to 'test/integration/targets/eos_user')
-rw-r--r-- | test/integration/targets/eos_user/tasks/eapi.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
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 |