use display_ok_hosts = no and debug module simultaneously

13 views
Skip to first unread message

Uwe Sauter

unread,
Nov 17, 2018, 11:40:17 AM11/17/18
to Ansible Project
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,

Uwe
Reply all
Reply to author
Forward
0 new messages