ansible / ansible.posix / 1.5.4 / callback / profile_tasks adds time information to tasks Authors: unknownansible.posix.profile_tasks (1.5.4) — callback
Install with ansible-galaxy collection install ansible.posix:==1.5.4
collections: - name: ansible.posix version: 1.5.4
Ansible callback plugin for timing individual tasks and overall execution time.
Mashup of 2 excellent original works: https://github.com/jlafon/ansible-profile, https://github.com/junaid18183/ansible_home/blob/master/ansible_plugins/callback_plugins/timestamp.py.old
Format: C(<task start timestamp>) C(<length of previous task>) C(<current elapsed playbook execution time>)
It also lists the top/bottom time consuming tasks in the summary (configurable)
Before 2.4 only the environment variables were available for configuration.
sort_order: choices: - descending - ascending - none default: descending description: Adjust the sorting output of summary tasks env: - name: PROFILE_TASKS_SORT_ORDER ini: - key: sort_order section: callback_profile_tasks output_limit: default: 20 description: Number of tasks to display in the summary env: - name: PROFILE_TASKS_TASK_OUTPUT_LIMIT ini: - key: task_output_limit section: callback_profile_tasks