I'd like to know how I can get a playbook callback hook that tells me when 
a task has first been dispatched to a specific host.  

I have already hooked into the callback modules for every event, but none 
of the events indicates that a task was dispatched to a particular host. 
 I'm only allowed to know if the host was skipped, if the host failed, when 
the task completed for the host, or if the host was unreachable.  

I want to know when the task was started for each given host.  This will 
allow me to produce an easily parseable database activity log that shows 
what is currently running, and on behalf of what hosts, and for which I 
don't currently have a result for.  Also, when I do get the result, it will 
enable me to record the duration that the host took in order to complete 
the task.

Any ideas or comments as to what I may be missing?

Thanks

Brian

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c27fc705-d673-4fe7-a387-53da0557a27f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to