There are no real functional differences between any types of callback
plugins. It is more just a convention to describe what they do.

stdout = writes to stdout
notification = sends some sort of notification based on an event
aggregate = summarizes an execution

Really the only difference is that Ansible enforces that only a single
`stdout` callback can be enabled at any 1 time.  That is because the
`stdout` plugin controls writing to stdout for output.  So you cannot
enable more than 1.

Honestly though, there is nothing stopping you from just giving it some
other type.

On Sat, Dec 3, 2016 at 6:21 PM, Mumshad Mannambeth <[email protected]>
wrote:

> What are the different types of Callback_plugins - notification, stdout,
> aggregate ? Any more?
>
> And what are the differences?
>
> I am trying to develop a callback_plugin using the json plugin as base.
> But I would like stdout call back to remain default - skippy. And use my
> callback plugin as an add on. I added my custom plugin in ansible.cfg
> whitelist. But it doesn't call my plugin as it was of type stdout. So I
> changed it to notification and now it works, but it doesnt work like how it
> did with stdout. It doesnt retain the data properly between calls. Any
> advise?
>
> How can I retain default stdout and enable my plugin while having my
> plugin type to be stdout?
>
> Thanks
> Mumshad
>
> --
> 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.
>



-- 
Matt Martz
@sivel
sivel.net

-- 
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