From 0d5c11029a1268bb9b7413ddf89ab8b9de9e6e41 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Mon, 7 Aug 2017 16:15:11 -0400 Subject: [PATCH] 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 --- tests/ansible.cfg | 2 -- tox.ini | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 tests/ansible.cfg diff --git a/tests/ansible.cfg b/tests/ansible.cfg deleted file mode 100644 index 51d344dc..00000000 --- a/tests/ansible.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[defaults] -roles_path = ../roles diff --git a/tox.ini b/tox.ini index 0a72b17c..ff95ae04 100644 --- a/tox.ini +++ b/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}