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:
parent
dc767038eb
commit
0d5c11029a
@ -1,2 +0,0 @@
|
||||
[defaults]
|
||||
roles_path = ../roles
|
2
tox.ini
2
tox.ini
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user