Short answer: no. Callbacks were designed to receive data, not feed data
back into the executor engine. Now, some users have found ways to make
callbacks do some tricky things, but it's definitely not their intended
purpose.

As for docs, unfortunately not yet. We've got better developer docs on the
top of our documentation todo list, as well as API documentation, so
hopefully we'll see some improvement there within the next couple of
releases.

James Cammarata

Ansible Lead/Sr. Principal Software Engineer
Ansible by Red Hat
twitter: @thejimic, github: jimi-c

On Wed, Aug 24, 2016 at 6:16 PM, Damien Garros <[email protected]> wrote:

> Hi
>
> I'm trying to build my own Callback plugin and I'm still struggling to
> understand if it's possible to modify the JSON structured returned by a
> module within a Callback plugin or not.
> I would like to collect information from all tasks and process them at the
> end to determine if a specific task should return PASS or FAIL
>
> BTW, is there an API doc available for the Callback plugin ? that would be
> very useful.
>
> Thanks
> Damien
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to