From 6cc3961986fd8e147f04dea14cbdcb0f99d9499e Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 11 Jul 2021 21:16:20 +0300
Subject: [PATCH] Ansible deprecations.

command_warnings is being deprecated. callback_whitelist is being
renamed to callback_enabled. The callback modules are updated to the new
FQDN naming convention.
---
 .bashrc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.bashrc b/.bashrc
index 01d20c7..b4f8a97 100644
--- a/.bashrc
+++ b/.bashrc
@@ -4,8 +4,7 @@
 
 export ANSIBLE_CACHE_PLUGIN=jsonfile
 export ANSIBLE_CACHE_PLUGIN_CONNECTION="$HOME/.ansible/facts"
-export ANSIBLE_CALLBACK_WHITELIST="profile_tasks, timer"
-export ANSIBLE_COMMAND_WARNINGS=True
+export ANSIBLE_CALLBACKS_ENABLED="ansible.posix.profile_tasks, ansible.posix.timer"
 export ANSIBLE_DEPRECATION_WARNINGS=True
 export ANSIBLE_FORKS=5
 export ANSIBLE_GATHERING=smart
-- 
GitLab