Thank you , it worked. On Thursday, 16 January 2014 21:03:18 UTC+5:30, Matt Martz wrote: > > The task should be exposed to your callback plugin as self.task. This is > set using ansible.callbacks.set_task > > self.task should have an attribute of 'name', so I imagine something like > self.task.name would give you what you are looking for. > -- > Matt Martz > [email protected] <javascript:> > > On January 16, 2014 at 9:26:43 AM, Chaitanya Yenugu > ([email protected]<javascript:>) > wrote: > > How can I get task name in runner_on_ok callback? > -- > 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] <javascript:>. > To post to this group, send email to [email protected]<javascript:> > . > For more options, visit https://groups.google.com/groups/opt_out. > >
-- 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]. For more options, visit https://groups.google.com/groups/opt_out.
