# No changed plugin callback

**URL:** <https://forum.ansible.com/t/no-changed-plugin-callback/15634>\
**Category:** Ansible Developer\
**Created:** [July 9, 2014, 4:55pm UTC](https://forum.ansible.com/t/no-changed-plugin-callback/15634 "2014-07-09T16:55:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaol](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@shaol](https://forum.ansible.com/u/shaol)\
**Post date:** [July 9, 2014, 4:55pm UTC](https://forum.ansible.com/t/no-changed-plugin-callback/15634/1 "2014-07-09T16:55:52Z")

</div>

Hi Guys

I was going over the noop.py plugin callbacks on github (see [https://github.com/ansible/ansible/blob/devel/lib/ansible/callback\_plugins/noop.py](https://github.com/ansible/ansible/blob/devel/lib/ansible/callback_plugins/noop.py)) and noticed there is no callback for a task’s changed status. Any reason for this ?

Regards

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [July 9, 2014, 6:57pm UTC](https://forum.ansible.com/t/no-changed-plugin-callback/15634/2 "2014-07-09T18:57:27Z")

</div>

" Any reason for this ?"

There’s always a reason 🙂

In this case, it’s unnecessary.

changed True/False is mixed in with the attributes of the return datastructure.

---

<div class="post-metadata">

**Author:** ![shaol](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@shaol](https://forum.ansible.com/u/shaol)\
**Post date:** [July 9, 2014, 8:20pm UTC](https://forum.ansible.com/t/no-changed-plugin-callback/15634/3 "2014-07-09T20:20:42Z")

</div>

Thanks for the reply.

Okay; well, I am trying to build a plugin that will print the task’s stdout rather than just return “changed/ok”. I could register a variable and then debug: var=var but that becomes somewhat wearisome when tasks are abundant. The plan was to latch onto runner\_on\_changed or something but thats obviously not going to work with this revelation.

Do you know what I need to do in order to achieve this goal ?

Regards

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [July 9, 2014, 9:29pm UTC](https://forum.ansible.com/t/no-changed-plugin-callback/15634/4 "2014-07-09T21:29:49Z")

</div>

All commands that return stdout do in fact show this when using “-v”.

I don’t think you’d need to write one.

We might be interested in a language feature for a “verbose: True” property on a task that forces verbosity if not already set.

---

<div class="post-metadata">

**Author:** ![shaol](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@shaol](https://forum.ansible.com/u/shaol)\
**Post date:** [July 9, 2014, 10:18pm UTC](https://forum.ansible.com/t/no-changed-plugin-callback/15634/5 "2014-07-09T22:18:43Z")

</div>

I am aware of the -v argument but it is not very user friendly hence why I want to create the plugin which will format the output. A verbose module would be nice provided it allow for some form of formatting.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [July 9, 2014, 10:52pm UTC](https://forum.ansible.com/t/no-changed-plugin-callback/15634/6 "2014-07-09T22:52:24Z")

</div>

Yeah, patches for that would be welcome. I’m not sure how hard it would be, but I suspect not terrible.
