> Thanks for these pointers JP. The mail plugin looks interesting, and is 
> probably what I need. How do I call it from a playbook though? 

You don't -- that's the magic. :-)

You configure Ansible to use that callback plugin by dropping into the
directory you configure for callback plugins [1]. From that point on,
Ansible always invokes it automatically.

Forgive me for linking to my own blurb [2], but that's what I wrote at
the time. (I hope it's still more or less current.)

Good luck,

        -JP

[1] http://docs.ansible.com/developing_plugins.html
[2] http://jpmens.net/2012/09/11/watching-ansible-at-work-callbacks/

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to