# Ansible --diff --check only display changes

**URL:** <https://forum.ansible.com/t/ansible-diff-check-only-display-changes/17820>\
**Category:** Ansible Project\
**Created:** [March 23, 2015, 10:06pm UTC](https://forum.ansible.com/t/ansible-diff-check-only-display-changes/17820 "2015-03-23T22:06:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Neudorfer1](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@David\_Neudorfer1](https://forum.ansible.com/u/David_Neudorfer1)\
**Post date:** [March 23, 2015, 10:06pm UTC](https://forum.ansible.com/t/ansible-diff-check-only-display-changes/17820/1 "2015-03-23T22:06:18Z")

</div>

Would a callback plugin be the right place to start if I wanted to only the display “changed:” tasks including the changes:

— before: /etc/motd  
+++ after: /opt/wp/app/hegemon/ansible/roles/common/templates/motd.j2

and silence all “ok:” or “skipped:” tasks?

Has anyone else done something similar?

---

<div class="post-metadata">

**Author:** ![vaida.dan](https://avatars.discourse-cdn.com/v4/letter/v/5daacb/32.png) [@vaida.dan](https://forum.ansible.com/u/vaida.dan)\
**Post date:** [March 28, 2015, 5:44pm UTC](https://forum.ansible.com/t/ansible-diff-check-only-display-changes/17820/2 "2015-03-28T17:44:02Z")

</div>

Unfortunately, some modules don’t support --diff and --check.

Yes, I believe a callback plugin would be the best way to do this.

Not aware of anything like that so far, but I’ve seen people pushing the output to Elasticsearch, APIs, XLS files and other crazy things 🙂

One of the plugins that I enjoy is: [https://gist.github.com/cliffano/9868180](https://gist.github.com/cliffano/9868180)

Cheers,

Dan.
