]> git.apps.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 07:40:11 +0000 (08:40 +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 5f621eb997c882ac55f12d5630dc806aac9e2ac1..74767589f1786ac82d9f12a6d71878d1fa6162f9 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -199,6 +199,8 @@ setenv=
   ANSIBLE_CALLBACK_WHITELIST = profile_tasks
   ANSIBLE_STDOUT_CALLBACK = debug
   ANSIBLE_KEEP_REMOTE_FILES = 1
+  ANSIBLE_CACHE_PLUGIN = memory
+  ANSIBLE_GATHERING = implicit
   # only available for ansible >= 2.5
   centos: CEPH_ANSIBLE_VAGRANT_BOX = centos/7
   fedora: CEPH_ANSIBLE_VAGRANT_BOX = fedora/29-atomic-host