ansible.posix.profile_roles – adds timing information to roles


This plugin is part of the ansible.posix collection (version 1.3.0).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install ansible.posix.

To use it in a playbook, specify: ansible.posix.profile_roles.


  • This callback module provides profiling for ansible roles.


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

  • whitelisting in configuration