Add role linking to tox tests

Change-Id: I36df88a9e02a96e099ac63a3d23c2f79b936b258
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2016-09-14 10:58:15 -05:00
parent 05892b5aa9
commit 1bfcd10bc5
No known key found for this signature in database
GPG Key ID: 69FEFFC5E2D9273F
1 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,8 @@ commands =
ansible-galaxy install \
--role-file={toxinidir}/tests/ansible-role-requirements.yml \
--force
rm -rf {homedir}/.ansible/roles/os_keystone
bash -c "ln -s {toxinidir} {homedir}/.ansible/roles/os_keystone"
rm -rf {toxinidir}/tests/playbooks
git clone https://git.openstack.org/openstack/openstack-ansible-tests \
{toxinidir}/tests/playbooks