There is no way to specify the callback via a playbook. To use them, you
must use the Ansible API directly. Callbacks are used in the ansible and
ansible-playbook system scripts, if you want to see how they're used there.
Any further questions regarding using the API are best sent to the
ansible-devel mailing list, so if you have any further questions let us
know there.

Thanks!


On Mon, May 19, 2014 at 2:54 PM, JohnP <[email protected]> wrote:

> Hi All,
>
> Can anyone explain "callbacks" mechanism?
> As I can see, there are a many callbacks files in
> ansible/plugins/callbacks/*.py
> The format of them more or less "similar". Only the differentiator is the
> filename.
> How do I target the "right one" from my *playbook.yml* files?
> Any example would be truly appreciated.
>
> JohnP
>
> --
> 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/24b0f697-02c8-4679-a01a-487252d10ae3%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/24b0f697-02c8-4679-a01a-487252d10ae3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAMFyvFhwnWtJEuT-OPNyJdaJC7Y4LxivyfPAjCvt_0JopStG2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to