Friends:
Is there a way to measure the amount of time it takes to run task so I can get an idea how much time we are spending to deploy packages ?
-N
Friends:
Is there a way to measure the amount of time it takes to run task so I can get an idea how much time we are spending to deploy packages ?
-N
There is https://github.com/jlafon/ansible-profile
just put
callback_whitelist = profile_tasks
in you ansible.cfg
You could try the callback plugin profile_tasks
ANSIBLE_STDOUT_CALLBACK=profile_tasks ansible-playbook <playbook>
What I do is run the -vvvv option on my play and note the start time.