diff --git a/tests/inventory b/tests/inventory index 2fbb50c..df8b5f6 100644 --- a/tests/inventory +++ b/tests/inventory @@ -1 +1,2 @@ -localhost +[all] +localhost ansible_connection=local diff --git a/tests/test.yaml b/tests/test.yaml new file mode 100644 index 0000000..c5d0a31 --- /dev/null +++ b/tests/test.yaml @@ -0,0 +1,6 @@ +--- +- hosts: localhost + vars: + rolename: "{{ lookup('pipe', 'pwd') | dirname | basename }}" + roles: + - "{{ rolename }}" diff --git a/tests/test001.yaml b/tests/test001.yaml deleted file mode 100644 index 93620a1..0000000 --- a/tests/test001.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -- hosts: localhost - roles: - - ansible-role-zuul diff --git a/tests/test002.yaml b/tests/test002.yaml deleted file mode 100644 index b7be304..0000000 --- a/tests/test002.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -- hosts: localhost - roles: - - { role: ansible-role-zuul, zuul_install_method: 'pip' }