Fix callback_log_plays tests for current devel branch of ansible-base. (#1221) (#1222)

(cherry picked from commit 549f228e1c)

Co-authored-by: Felix Fontein <felix@fontein.de>
pull/1224/head
patchback[bot] 2020-11-03 14:26:43 +01:00 committed by GitHub
parent 0005df8910
commit c4983f9b90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -2,7 +2,9 @@
set -eux set -eux
# ANSIBLE_CALLBACK_WHITELIST has been deprecated in ansible-base 2.11, ANSIBLE_CALLBACKS_ENABLED should be used
export ANSIBLE_CALLBACK_WHITELIST="community.general.log_plays,${ANSIBLE_CALLBACK_WHITELIST:-}" export ANSIBLE_CALLBACK_WHITELIST="community.general.log_plays,${ANSIBLE_CALLBACK_WHITELIST:-}"
export ANSIBLE_CALLBACKS_ENABLED="community.general.log_plays,${ANSIBLE_CALLBACKS_ENABLED:-}"
# run play, should create log and dir if needed # run play, should create log and dir if needed
export ANSIBLE_LOG_FOLDER="logit" export ANSIBLE_LOG_FOLDER="logit"