Setup ANSIBLE_ROLES_PATH in tox.ini

It is possible we are going to depend on roles in other repos (like
the next patch). Move this to using an environmental variable to make
it easier to depend on external roles.

Change-Id: Ia90ac5674188d38a6a749c92de957430d5a5403c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-08-07 16:15:11 -04:00
parent dc767038eb
commit 0d5c11029a
2 changed files with 1 additions and 3 deletions

View File

@ -1,2 +0,0 @@
[defaults]
roles_path = ../roles

View File

@ -23,7 +23,7 @@ commands = python setup.py build_sphinx
[testenv:linters]
setenv =
ANSIBLE_CONFIG = {toxinidir}/tests/ansible.cfg
ANSIBLE_ROLES_PATH = {toxinidir}/roles
whitelist_externals = bash
commands =
flake8 {posargs}