How to measure time taken for tasks when running ansible-playbook

Solution Unverified - Updated -

Issue

When running ansible-playbook to install or upgrade Openshift, there is no way by default to know how long the individual tasks are taking and so you can only know the overall runtime by using for example the time command.

time ansible-playbook -i /path/to/inventory_file /path/to/playbook.yml

Environment

OpenShift Container Platform 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content