diff --git a/requirements.txt b/requirements.txt index d4de0a1..50b1461 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -ansible==2.1.0.0 +-e git://github.com/ansible/ansible.git@v2.1.2.0-0.3.rc3#egg=ansible shade diff --git a/tests/ansible.cfg b/tests/ansible.cfg index 1ba76a9..9bc38c2 100644 --- a/tests/ansible.cfg +++ b/tests/ansible.cfg @@ -1,3 +1,3 @@ [defaults] host_key_checking = False -roles_path = .. +roles_path = ../.. diff --git a/tests/inventory b/tests/inventory index 7d2265b..8bc8296 100644 --- a/tests/inventory +++ b/tests/inventory @@ -1,2 +1,2 @@ [test] -test01 ansible_host=localhost ansible_connection=local ansible_python_interpreter=.tox/functional/bin/python +test01 ansible_host=localhost ansible_connection=local diff --git a/tox.ini b/tox.ini index 040b5ba..76dd36f 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ deps = -r{toxinidir}/requirements.txt [testenv:functional] commands = ansible-playbook -i tests/inventory tests/test.yaml \ - -e "@tests/resources.yml" + -e "@tests/resources.yml" -e "ansible_python_interpreter={toxinidir}/.tox/functional/bin/python" passenv = HOME setenv = ANSIBLE_CONFIG = {toxinidir}/tests/ansible.cfg