Ansible way to show only failed tasks not any other

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

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.