How to time Ansible tasks
It is very helpful to see how long it takes to execute an Ansible task ans this is how I do it.
Write this to your
[defaults] callback_whitelist = profile_tasks
The location of the configuration file will be processed in the following order
- ANSIBLE_CONFIG (an environment variable)
- ansible.cfg (in the current directory)
- .ansible.cfg (in the home directory)