diff options
Diffstat (limited to 'test/integration/targets/nuage_vspk')
-rw-r--r-- | test/integration/targets/nuage_vspk/aliases | 1 | ||||
-rw-r--r-- | test/integration/targets/nuage_vspk/tasks/main.yml | 27 |
2 files changed, 14 insertions, 14 deletions
diff --git a/test/integration/targets/nuage_vspk/aliases b/test/integration/targets/nuage_vspk/aliases index 8d53722029..b7aa777f1f 100644 --- a/test/integration/targets/nuage_vspk/aliases +++ b/test/integration/targets/nuage_vspk/aliases @@ -1,3 +1,2 @@ posix/ci/group1 skip/python3 -disabled diff --git a/test/integration/targets/nuage_vspk/tasks/main.yml b/test/integration/targets/nuage_vspk/tasks/main.yml index 7c112af5e8..f3f7e046b3 100644 --- a/test/integration/targets/nuage_vspk/tasks/main.yml +++ b/test/integration/targets/nuage_vspk/tasks/main.yml @@ -1,18 +1,19 @@ --- -- name: collect all test cases - find: - paths: "{{ role_path }}/tests" - patterns: "{{ testcase }}.yaml" - delegate_to: localhost - register: test_cases +- block: + - name: collect all test cases + find: + paths: "{{ role_path }}/tests" + 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: set test_items + set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" -- name: run test case - include: "{{ test_case_to_run }}" - with_items: "{{ test_items }}" - loop_control: - loop_var: test_case_to_run + - name: run test case + include: "{{ test_case_to_run }}" + with_items: "{{ test_items }}" + loop_control: + loop_var: test_case_to_run when: "ansible_python_version is version('2.7', '>=')" |