task headers get printed before a task gets attempted for any of the hosts, the callback hides the skipped hosts but cannot 'unprint' the headers if all hosts skip the task.
The only way to do that would be to buffer the output and wait until all hosts skip. ---------- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.