counter_enabled – adds counters to the output items (tasks and hosts/task)¶
New in version 2.7.
- Use this callback when you need a kind of progress bar on a large environments.
- You will know how many tasks has the playbook to run, and which one is actually running.
- You will know how many hosts may run a task, and which of them is actually running.
The below requirements are needed on the local master node that executes this callback.
- set as stdout callback in ansible.cfg (stdout_callback = counter_enabled)