summaryrefslogtreecommitdiff
path: root/test/integration/targets/nuage_vspk
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2018-05-07 10:41:48 -0700
committerMatt Clay <matt@mystile.com>2018-05-07 11:15:36 -0700
commit1c7417cba7e89f3c474517d1312c54f27b8909e5 (patch)
tree127b3d31a23b79829f2ea3604742293d325c7023 /test/integration/targets/nuage_vspk
parent75283983f670f51dac0010baf9addb820d334ef7 (diff)
downloadansible-1c7417cba7e89f3c474517d1312c54f27b8909e5.tar.gz
Restore nuage_vspk integration tests.
Diffstat (limited to 'test/integration/targets/nuage_vspk')
-rw-r--r--test/integration/targets/nuage_vspk/aliases1
-rw-r--r--test/integration/targets/nuage_vspk/tasks/main.yml27
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', '>=')"