`runner_on_ok` is the v1 callback interface, whereas `v2_runner_on_ok` is
the v2 callback interface.

Ultimately, the v2 interface was updated to receive a `Result` object,
whereas the v1 interface receives a Host object and a result dictionary.

As such the v2 method will potentially give you access to more information.

On Thu, Sep 29, 2022 at 6:09 PM sysadreq - <[email protected]> wrote:

> Hello Ansible Group,
>
> I was trying to create a custom callback plugin and I noticed a variation
> on the different callback plugins.
>
> May someone kindly explain what's the difference between runner_on_ok and
> v2_runner_on_okay?
>
> I tried to google it but couldn't find a documentation.
>
> Thank you.
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/f4741f0c-5ba3-494f-a9f1-a669e7ec9bc3n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/f4741f0c-5ba3-494f-a9f1-a669e7ec9bc3n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Matt Martz
@sivel
sivel.net

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAD8N0v9bxjJ80Ab_yCTjXyZNV%2BVTHprBkBcsjhJVg74Y_nmPBA%40mail.gmail.com.

Reply via email to