A plugin for task timings

I’m posting this here in case anyone finds it useful. I’ve written a very simple plugin that prints out the most expensive tasks, and their timings.

The source is on GitHub at https://github.com/jlafon/ansible-profile.

Short blog post: http://jlafon.io/ansible-profiling.html

-Jharrod LaFon

That’s pretty remarkable how small the code is.

Well done!

https://github.com/jlafon/ansible-profile/blob/master/callback_plugins/profile_tasks.py