ansible-for-devops
ansible-for-devops copied to clipboard
Ansible output not adding a blank line between hosts.
Not a bug so much as an annoyance. I assumed this was a configuration item, but my google skills are failing me.
If you look at page 27 of the 2nd edition, after running ansible multi -a "df -h" You see 3 sets of output, separated by a blank line. This is the way that 2.6 prints.
My old eyes appreciated not having to read each line to find the breaks.
But now I'm using core 2.11 and I get the same output as page 26, but there are no blank lines between the sections.
I have been all over the googles and can't figure out how to fix this, I figure it's a configuration issue, but all I'm finding is people suggesting that I add generous amounts of white space to my playbooks, not how to add a blank line between host files in the output
I tried using stdout_callback = debug and stdout_callback = yaml But I couldn't detect a change in he output. I believe the stdout_callback is solving a different problem.
If I have stated anything in an unclear way I will be happy to clarify.