Brian, Have you seen this project? https://github.com/jlafon/ansible-profile
On Friday, August 28, 2015 at 10:58:25 PM UTC-5, Brian Swanson wrote: > > 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/aeba869d-c324-4681-9ec8-f70276ee605c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
