Hi Kevin,

We do have call backs before a play finishes. The on_task_start and 
on_play_start callbacks. But I can't figure out how to know for which host 
a particular task is running on. 

Thanks,
Mumshad

On Thursday, 29 December 2016 05:07:20 UTC-5, Kevin Csuka wrote:
>
> Callback plugin is used after a play is finished.
> Good question tho. Don't know how.
>
> On Saturday, December 24, 2016 at 9:24:34 PM UTC+1, Mumshad Mannambeth 
> wrote:
>>
>> Ansible prints information whenever a task starts, but doesn't print 
>> information on which host it is running currently. is there a way to make 
>> it print this information. may be with modification to Callback plugins? I 
>> looked at v2_playbook_on_task_start call but was not able to get host 
>> information for which a task is running. Appreciate any information around 
>> here.
>>
>> Thanks
>> Mumshad
>>
>

-- 
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/a4d5646b-8b68-4ce5-b29b-bd3dd91f099c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to