Commit 227dfc17 by Michael DeHaan

fix tree output

parent 05df6464
...@@ -235,7 +235,7 @@ class CliRunnerCallbacks(DefaultRunnerCallbacks): ...@@ -235,7 +235,7 @@ class CliRunnerCallbacks(DefaultRunnerCallbacks):
print host_report_msg(host, self.options.module_name, result, self.options.one_line) print host_report_msg(host, self.options.module_name, result, self.options.one_line)
if self.options.tree: 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))
######################################################################## ########################################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment