mirror of
https://github.com/ansible/ansible-documentation.git
synced 2026-03-27 13:28:51 +07:00
Add a newline in output here, possibly considering printing top level keys flat
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user