# How to run callback plugins in awx

**URL:** <https://forum.ansible.com/t/how-to-run-callback-plugins-in-awx/31828>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [December 16, 2019, 5:39pm UTC](https://forum.ansible.com/t/how-to-run-callback-plugins-in-awx/31828 "2019-12-16T17:39:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jesty\_sam](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@jesty\_sam](https://forum.ansible.com/u/jesty_sam)\
**Post date:** [December 16, 2019, 5:39pm UTC](https://forum.ansible.com/t/how-to-run-callback-plugins-in-awx/31828/1 "2019-12-16T17:39:08Z")

</div>

Hi

I have a callback plugin which parses output to json. How can I use them to run through awx?

---

<div class="post-metadata">

**Author:** ![AlanCoding](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/alancoding/32/301_2.png) [@AlanCoding](https://forum.ansible.com/u/AlanCoding)\
**Post date:** [December 16, 2019, 6:40pm UTC](https://forum.ansible.com/t/how-to-run-callback-plugins-in-awx/31828/2 "2019-12-16T18:40:28Z")

</div>

I have a proposal to allow this, but it is not supported now. Getting it done requires a number of supporting items to make it something that is maintainable.

Ansible vendors with a JSON stdout callback plugin, so you don’t need to manage it separately on your own. Keep in mind, JSON cannot be streamed (like YAML). So job events would all have empty standard out except for the final one where the callback plugin dumps all the saved data. You might also consuming the event data directly from the API, because it has the same content without any fragile user customizations.

---

<div class="post-metadata">

**Author:** ![Bruno\_Carvalho](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Bruno\_Carvalho](https://forum.ansible.com/u/Bruno_Carvalho)\
**Post date:** [December 18, 2019, 6:05pm UTC](https://forum.ansible.com/t/how-to-run-callback-plugins-in-awx/31828/3 "2019-12-18T18:05:06Z")

</div>

I change runner\_config for json, but not work set\_stats. I´m debug yet.

line: 184

/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/ansible\_runner/runner\_config.py

self.env[‘ANSIBLE\_STDOUT\_CALLBACK’] = self.env.get(‘ANSIBLE\_STDOUT\_CALLBACK’)
