]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: set `ANSIBLE_KEEP_REMOTE_FILES`
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 19 Dec 2018 13:23:48 +0000 (14:23 +0100)
committerSébastien Han <seb@redhat.com>
Thu, 24 Jan 2019 10:46:32 +0000 (11:46 +0100)
this is useful when trying to debug an ansible module issue.
This will allow us to replay a failing module on a node when needed.

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

diff --git a/tox.ini b/tox.ini
index 50e074a7f705d376b7df89866210acfadcb35174..6d1c676f26bcc7379096805209ca72d5541748c9 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -212,6 +212,7 @@ setenv=
   ANSIBLE_ACTION_PLUGINS = {toxinidir}/plugins/actions
   ANSIBLE_CALLBACK_PLUGINS = {toxinidir}/plugins/callback
   ANSIBLE_CALLBACK_WHITELIST = profile_tasks
+  ANSIBLE_KEEP_REMOTE_FILES = 1
   # only available for ansible >= 2.5
   ANSIBLE_STDOUT_CALLBACK = yaml
   centos: CEPH_ANSIBLE_VAGRANT_BOX = centos/7