# runner\_on\_ok vs v2\_runner\_on\_ok

**URL:** <https://forum.ansible.com/t/runner-on-ok-vs-v2-runner-on-ok/37159>\
**Category:** Ansible Project\
**Created:** [September 29, 2022, 11:09pm UTC](https://forum.ansible.com/t/runner-on-ok-vs-v2-runner-on-ok/37159 "2022-09-29T23:09:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sysadreq](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@sysadreq](https://forum.ansible.com/u/sysadreq)\
**Post date:** [September 29, 2022, 11:09pm UTC](https://forum.ansible.com/t/runner-on-ok-vs-v2-runner-on-ok/37159/1 "2022-09-29T23:09:08Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [October 3, 2022, 1:35pm UTC](https://forum.ansible.com/t/runner-on-ok-vs-v2-runner-on-ok/37159/2 "2022-10-03T13:35:55Z")

</div>

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