]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: use memory backend for cache fact
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 13 Feb 2019 15:35:57 +0000 (16:35 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 5 Mar 2019 09:06:08 +0000 (10:06 +0100)
force ansible to generate facts for each run.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 4a1bafdc2181b3a951991fcc9a5108edde757615)

tox.ini

diff --git a/tox.ini b/tox.ini
index be197e17cb96f1fc37997d9b8c89cc37444f5e38..5f121ea3fe5f5018b489a226dc66a2df6971084f 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -164,6 +164,8 @@ setenv=
   # only available for ansible >= 2.2
   ANSIBLE_STDOUT_CALLBACK = debug
   ansible2.2: DELEGATE_FACTS_HOST = False
+  ANSIBLE_CACHE_PLUGIN = memory
+  ANSIBLE_GATHERING = implicit
   centos: CEPH_ANSIBLE_VAGRANT_BOX = centos/7
   ubuntu: CEPH_ANSIBLE_VAGRANT_BOX = ceph/ubuntu-xenial
   ubuntu: INVENTORY = hosts-ubuntu