geerlingguy / geerlingguy/ansible-for-devops

Ansible output not adding a blank line between hosts.

Open
#424 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
9.9k
Forks
3.8k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.