]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Enable profile_tasks callback plugin 2039/head
authorMajor Hayden <major@mhtx.net>
Thu, 12 Oct 2017 16:43:29 +0000 (11:43 -0500)
committerMajor Hayden <major@mhtx.net>
Thu, 12 Oct 2017 16:43:29 +0000 (11:43 -0500)
This patch adds the `profile_tasks` callback plugin to the whitelist
so that we can identify the tasks which are taking the longest amount
of time to run.

tox.ini

diff --git a/tox.ini b/tox.ini
index 187dc853aa9095a4b7a4a6f93d8b72a9e99fec05..94a6ca5dc8e8b1c9c86e5c59c40f888695cf8bfc 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -123,6 +123,7 @@ sitepackages=True
 setenv=
   ANSIBLE_SSH_ARGS = -F {changedir}/vagrant_ssh_config
   ANSIBLE_ACTION_PLUGINS = {toxinidir}/plugins/actions
+  ANSIBLE_CALLBACK_WHITELIST = profile_tasks
   # only available for ansible >= 2.2
   ANSIBLE_STDOUT_CALLBACK = debug
   docker_cluster: PLAYBOOK = site-docker.yml.sample