]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
test: set sitepackages=false in tox
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 13 May 2020 15:49:07 +0000 (17:49 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 14 May 2020 11:09:42 +0000 (13:09 +0200)
Otherwise it might try to use the system installed version of ansible
when there's one available.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index c4e70156176532b5f0831f1997357150ea0a9404..e993114ee27a7172839698705185ab752a650efe 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -280,7 +280,7 @@ whitelist_externals =
     sleep
     rm
 passenv=*
-sitepackages=True
+sitepackages=False
 setenv=
   ANSIBLE_SSH_ARGS = -F {changedir}/vagrant_ssh_config -o ControlMaster=auto -o ControlPersist=600s -o PreferredAuthentications=publickey
   ANSIBLE_CONFIG = {toxinidir}/ansible.cfg