]> 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)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 14 May 2020 15:35:08 +0000 (11:35 -0400)
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 5270897de68d8d15af65019e6884912b25abd911..5e748969bb12788a8e16371986f24d696f66b4af 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -348,7 +348,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