diff --git a/tox.ini b/tox.ini index 9def50d..8c0861c 100644 --- a/tox.ini +++ b/tox.ini @@ -15,6 +15,18 @@ commands = flake8 bash -c "ansible-lint -x 405 playbooks/*/*.yaml" +[testenv:venv] +basepython = python3 +commands = {posargs} +passenv = + HOME + SSH_AUTH_SOCK + TERM + USER +setenv = + ANSIBLE_CALLBACK_PLUGINS = {envsitepackagesdir}/ara/plugins/callbacks + PYTHONUNBUFFERED = 1 + [flake8] # E123, E125 skipped as they are invalid PEP-8.