]> 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 12:44:30 +0000 (14:44 +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>
(cherry picked from commit 6d9acb5e6de24043c9f858ea66def63113af3bd4)

tox.ini

diff --git a/tox.ini b/tox.ini
index 47cfd076f3277e1db1a03a2b8154d68a1746c1e1..c4347a2bb9e92d4853624c6b7551806ce6493578 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -340,7 +340,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