Hi,
I want to track the progress of a Task execution. I get the runner_on_ok() and runner_on_failed() but i want to callback for runner_on_start().
Is there such a callback available ?
Ritesh
Hi,
I want to track the progress of a Task execution. I get the runner_on_ok() and runner_on_failed() but i want to callback for runner_on_start().
Is there such a callback available ?
Ritesh
The playbook_on_task_start may be the one you need. It’s called once per task (regardless of the number of hosts).
Take a look at the noop callback source: https://github.com/ansible/ansible/blob/devel/lib/ansible/callback_plugins/noop.py
The callbacks are usually called in the following sequence:
Hi Chris
I am using task on start currently , but problem is that , it runs at task level and doesnt give me details when it is run for a host.
Ritesh