tests: set `ANSIBLE_KEEP_REMOTE_FILES`

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>
pull/3535/head
Guillaume Abrioux 2018-12-19 14:23:48 +01:00 committed by Sébastien Han
parent e6205e0070
commit f8d7019993
1 changed files with 1 additions and 0 deletions

View File

@ -212,6 +212,7 @@ setenv=
ANSIBLE_ACTION_PLUGINS = {toxinidir}/plugins/actions ANSIBLE_ACTION_PLUGINS = {toxinidir}/plugins/actions
ANSIBLE_CALLBACK_PLUGINS = {toxinidir}/plugins/callback ANSIBLE_CALLBACK_PLUGINS = {toxinidir}/plugins/callback
ANSIBLE_CALLBACK_WHITELIST = profile_tasks ANSIBLE_CALLBACK_WHITELIST = profile_tasks
ANSIBLE_KEEP_REMOTE_FILES = 1
# only available for ansible >= 2.5 # only available for ansible >= 2.5
ANSIBLE_STDOUT_CALLBACK = yaml ANSIBLE_STDOUT_CALLBACK = yaml
centos: CEPH_ANSIBLE_VAGRANT_BOX = centos/7 centos: CEPH_ANSIBLE_VAGRANT_BOX = centos/7