From b33ef0de60d73ade2e8176641403763492a0afd1 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 2 Mar 2012 19:52:43 -0500 Subject: [PATCH] Add a newline in output here, possibly considering printing top level keys flat --- bin/ansible | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/ansible b/bin/ansible index ad39d465aa..fb87f3fd76 100755 --- a/bin/ansible +++ b/bin/ansible @@ -166,10 +166,10 @@ class Cli(object): print buf else: if not failed: - buf += "%s >>" % hostname + buf += "%s >>\n" % hostname else: - buf += "%s | FAILED >>" % hostname - buf += json.dumps(result, indent=4, sort_keys=True) + buf += "%s | FAILED >>\n" % hostname + buf += json.dumps(result, sort_keys=True) print buf if options.tree: path = os.path.join(options.tree, hostname)