mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
fix tree output
This commit is contained in:
@@ -235,7 +235,7 @@ class CliRunnerCallbacks(DefaultRunnerCallbacks):
|
||||
|
||||
print host_report_msg(host, self.options.module_name, result, self.options.one_line)
|
||||
if self.options.tree:
|
||||
utils.write_tree_file(self.options.tree, host, utils.json(result,format=True))
|
||||
utils.write_tree_file(self.options.tree, host, utils.jsonify(result,format=True))
|
||||
|
||||
########################################################################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user