Update tox to set ANSIBLE_LOCAL_TEMP
Running tox results in ansible-lint creating a $HOME/.ansible/tmp directory. This update sets the ANSIBLE_LOCAL_TEMP environment variable to direct ansible to create this directory under the .tox work directory, rather than the default. Change-Id: I26055e071bfa2ecbd2b44ab9d1bda3273d8c67ed Closes-Bug: 1886865 Signed-off-by: Don Penney <don.penney@windriver.com>
This commit is contained in:
parent
59512fe7f9
commit
9e3a52f571
1
tox.ini
1
tox.ini
@ -9,6 +9,7 @@ setenv = VIRTUAL_ENV={envdir}
|
|||||||
OS_STDOUT_CAPTURE=1
|
OS_STDOUT_CAPTURE=1
|
||||||
OS_STDERR_CAPTURE=1
|
OS_STDERR_CAPTURE=1
|
||||||
OS_TEST_TIMEOUT=60
|
OS_TEST_TIMEOUT=60
|
||||||
|
ANSIBLE_LOCAL_TEMP={toxworkdir}/.ansible/tmp
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
|
|
||||||
[testenv:linters]
|
[testenv:linters]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user