# Ansible way to show only failed tasks not any other

**URL:** <https://forum.ansible.com/t/ansible-way-to-show-only-failed-tasks-not-any-other/27594>\
**Category:** Ansible Project\
**Created:** [May 22, 2018, 3:17pm UTC](https://forum.ansible.com/t/ansible-way-to-show-only-failed-tasks-not-any-other/27594 "2018-05-22T15:17:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ansiblekrazy](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@ansiblekrazy](https://forum.ansible.com/u/ansiblekrazy)\
**Post date:** [May 22, 2018, 3:17pm UTC](https://forum.ansible.com/t/ansible-way-to-show-only-failed-tasks-not-any-other/27594/1 "2018-05-22T15:17:49Z")

</div>

HI all,

I tried actionable and other callback plugins however it shows changed tasks also.

Is there way to show only and only failed tasks on the screen

Thanks

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [May 22, 2018, 5:51pm UTC](https://forum.ansible.com/t/ansible-way-to-show-only-failed-tasks-not-any-other/27594/2 "2018-05-22T17:51:08Z")

</div>

You would need to write you own callback plugin.

The code in a callback is fairly easy if you have some rudimentary Python skills.  
Take the code of the one you like must and remove part of the code you don't like.
