From 20bda0fb32a07534a82952e9b9edbf25885da6f7 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Sun, 7 Jan 2018 22:48:34 -0500 Subject: [PATCH] Enable profiler for time statistics Enables a profile which providers improved time statistics of individual job runs. Change-Id: Ia116089ac3438eedf1ece11cc71b3958afd083bf Signed-off-by: Thanh Ha --- templates/builder.json.example | 1 + templates/docker.json.example | 1 + 2 files changed, 2 insertions(+) diff --git a/templates/builder.json.example b/templates/builder.json.example index 923a02c..72e5c92 100644 --- a/templates/builder.json.example +++ b/templates/builder.json.example @@ -50,6 +50,7 @@ "ansible_env_vars": [ "ANSIBLE_NOCOWS=1", "ANSIBLE_ROLES_PATH=../lf-ansible/roles", + "ANSIBLE_CALLBACK_WHITELIST=profile-tasks", "ANSIBLE_STDOUT_CALLBACK=debug" ] } diff --git a/templates/docker.json.example b/templates/docker.json.example index 50ad4cf..c566989 100644 --- a/templates/docker.json.example +++ b/templates/docker.json.example @@ -50,6 +50,7 @@ "ansible_env_vars": [ "ANSIBLE_NOCOWS=1", "ANSIBLE_ROLES_PATH=../lf-ansible/roles", + "ANSIBLE_CALLBACK_WHITELIST=profile_tasks", "ANSIBLE_STDOUT_CALLBACK=debug" ] } -- 2.16.6