profile_tasks – adds time information to tasks

From Get docs
< Callback PluginsAnsible/docs/2.7/plugins/callback/profile tasks


profile_tasks – adds time information to tasks

New in version 2.0.


Synopsis

Requirements

The below requirements are needed on the local master node that executes this callback.

  • whitelisting in configuration

Parameters

Parameter Choices/Defaults Configuration Comments

output_limit

-

Default:

20

ini entries: [callback_profile_tasks]task_output_limit = 20


env:PROFILE_TASKS_TASK_OUTPUT_LIMIT

Number of tasks to display in the summary

sort_order

-

  • descending

  • ascending
  • none

ini entries: [callback_profile_tasks]sort_order = descending


env:PROFILE_TASKS_SORT_ORDER

Adjust the sorting output of summary tasks



Examples

#
#    TASK: [ensure messaging security group exists] ********************************
#    Thursday 11 June 2017  22:50:53 +0100 (0:00:00.721)       0:00:05.322 *********
#    ok: [localhost]
#
#    TASK: [ensure db security group exists] ***************************************
#    Thursday 11 June 2017  22:50:54 +0100 (0:00:00.558)       0:00:05.880 *********
#    changed: [localhost]
#  '

Status

Authors

  • UNKNOWN

Hint

If you notice any issues in this documentation you can edit this document to improve it.


© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.7/plugins/callback/profile_tasks.html