Missing callback hook for task_started_for_host

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

Brian,

Have you seen this project? https://github.com/jlafon/ansible-profile