1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix tree output

This commit is contained in:
Michael DeHaan 2012-08-02 20:42:32 -04:00
parent 05df6464ef
commit 227dfc17f3

View file

@ -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))
######################################################################## ########################################################################