From 901ff94f593f6da26fb1749b61456ef3a5638919 Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Sat, 17 Sep 2016 18:30:11 +0000 Subject: [PATCH] Run cloud launcher with latest release candidate Along with the requirements change, there are also needed changes roles_path and ansible_python_interpreter variable handling, for some reason latest Ansible did not like current configuration. Change-Id: I5fc78d479e276711365ea497edd4d3e38cacd650 --- requirements.txt | 2 +- tests/ansible.cfg | 2 +- tests/inventory | 2 +- tox.ini | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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