From 3406b143bf891a750387ee4d97900532e2fcc994 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Wed, 30 Mar 2022 09:58:14 -0500 Subject: [PATCH] update env options to resolve deprecation warnings Ansible is changing options for normalized naming, this change ensures we're up-to-date with the current settings. Change-Id: Ib59122e1a6a05226e88c90b6004f1498ffe32a2b Signed-off-by: Kevin Carter --- tripleoclient/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tripleoclient/utils.py b/tripleoclient/utils.py index f269e8778..939976459 100644 --- a/tripleoclient/utils.py +++ b/tripleoclient/utils.py @@ -563,7 +563,7 @@ def run_ansible_playbook(playbook, inventory, workdir, playbook_dir=None, constants.DEFAULT_VALIDATIONS_BASEDIR ) ) - env['ANSIBLE_CALLBACK_WHITELIST'] = callback_whitelist + env['ANSIBLE_CALLBACKS_ENABLED'] = callback_whitelist env['ANSIBLE_RETRY_FILES_ENABLED'] = False env['ANSIBLE_HOST_KEY_CHECKING'] = False env['ANSIBLE_TRANSPORT'] = connection