From 899d300834688df26c18a028a9faaf880b796174 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 3 Jun 2017 22:57:31 +0300
Subject: [PATCH] - Added Ansible config to use the tasks profiling plugin.

---
 .ansible.cfg | 1 +
 .bashrc      | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.ansible.cfg b/.ansible.cfg
index 04c44bb..09fc9eb 100644
--- a/.ansible.cfg
+++ b/.ansible.cfg
@@ -11,6 +11,7 @@ forks = 5
 inventory = inventory
 #sudo_exe = sudo # OpenBSD uses doas from 5.8.
 retry_files_save_path = /tmp/
+callback_whitelist = profile_tasks
 
 [ssh_connection]
 pipelining = True
diff --git a/.bashrc b/.bashrc
index ddedffd..7c6dacb 100644
--- a/.bashrc
+++ b/.bashrc
@@ -60,6 +60,7 @@ export ANSIBLE_SSH_CONTROL_PATH_DIR='/tmp/ssh-%%h'
 export ANSIBLE_GATHERING=smart
 export ANSIBLE_CACHE_PLUGIN=jsonfile
 export ANSIBLE_CACHE_PLUGIN_CONNECTION="$HOME/.ansible/facts"
+export ANSIBLE_CALLBACK_WHITELIST=profile_tasks
 alias ll='ls -lha'
 alias la='ls -A'
 alias l='ls -CF'
-- 
GitLab