Enable profiler for time statistics 89/8289/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 8 Jan 2018 03:48:34 +0000 (22:48 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 8 Jan 2018 03:49:14 +0000 (22:49 -0500)
Enables a profile which providers improved time statistics of
individual job runs.

Change-Id: Ia116089ac3438eedf1ece11cc71b3958afd083bf
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
templates/builder.json.example
templates/docker.json.example

index 923a02c..72e5c92 100644 (file)
@@ -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"
       ]
     }
index 50ad4cf..c566989 100644 (file)
@@ -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"
       ]
     }