From 227dfc17f38e2856094559e9734e1a3f10777829 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 2 Aug 2012 20:42:32 -0400 Subject: [PATCH] fix tree output --- lib/ansible/callbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/callbacks.py b/lib/ansible/callbacks.py index 68f723cfd1..68ce15f953 100644 --- a/lib/ansible/callbacks.py +++ b/lib/ansible/callbacks.py @@ -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)) ########################################################################