From: Thanh Ha Date: Mon, 8 Jan 2018 03:48:34 +0000 (-0500) Subject: Enable profiler for time statistics X-Git-Tag: v0.1.0~57 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=20bda0fb32a07534a82952e9b9edbf25885da6f7;p=releng%2Fcommon-packer.git 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 --- 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" ] }