]> 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)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Thu, 14 Feb 2019 10:34:37 +0000 (10:34 +0000)
force ansible to generate facts for each run.

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

diff --git a/tox.ini b/tox.ini
index 291def7d9cc697720ee9028fa0a21568e868d3ce..2b4b930f4a0f068001812da964e57a772359929c 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -219,6 +219,8 @@ setenv=
   ANSIBLE_CALLBACK_PLUGINS = {toxinidir}/plugins/callback
   ANSIBLE_CALLBACK_WHITELIST = profile_tasks
   ANSIBLE_KEEP_REMOTE_FILES = 1
+  ANSIBLE_CACHE_PLUGIN = memory
+  ANSIBLE_GATHERING = implicit
   # only available for ansible >= 2.5
   ANSIBLE_STDOUT_CALLBACK = yaml
   non_container: DEV_SETUP = True