# use display\_ok\_hosts = no and debug module simultaneously

**URL:** <https://forum.ansible.com/t/use-display-ok-hosts-no-and-debug-module-simultaneously/29056>\
**Category:** Ansible Project\
**Created:** [November 17, 2018, 4:40pm UTC](https://forum.ansible.com/t/use-display-ok-hosts-no-and-debug-module-simultaneously/29056 "2018-11-17T16:40:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uwe\_Sauter](https://avatars.discourse-cdn.com/v4/letter/u/41988e/32.png) [@Uwe\_Sauter](https://forum.ansible.com/u/Uwe_Sauter)\
**Post date:** [November 17, 2018, 4:40pm UTC](https://forum.ansible.com/t/use-display-ok-hosts-no-and-debug-module-simultaneously/29056/1 "2018-11-17T16:40:05Z")

</div>

Hi,

currently with ansible.cfg containing

[defaults]  
display\_ok\_hosts = no  
display\_skipped\_hosts = no  
stdout\_callback = yaml

no output is given when I use the debug module. This is obviously correct behavior because the debug task returns ok.

But it makes debugging hard if you have a lot of "ok" hosts that you don't want in your output.

Any way around this behavior?

Thanks,

&nbsp;&nbsp;Uwe
