mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-10 02:41:30 +00:00
Fix -t tree mode so it writes out the value for each host, not everything, once again
This commit is contained in:
@@ -181,7 +181,7 @@ class Cli(object):
|
||||
options.one_line
|
||||
)
|
||||
if options.tree:
|
||||
write_tree_file(options.tree, hostname, bigjson(results))
|
||||
write_tree_file(options.tree, hostname, bigjson(contacted_host_result(results, hostname)))
|
||||
buf += msg
|
||||
|
||||
if has_dark_hosts(results):
|
||||
|
||||
Reference in New Issue
Block a user