summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael DeHaan <michael.dehaan@gmail.com>2012-08-02 20:42:32 -0400
committerMichael DeHaan <michael.dehaan@gmail.com>2012-08-02 20:42:32 -0400
commit227dfc17f38e2856094559e9734e1a3f10777829 (patch)
treee3c0907891270d0f01b65b400b718038291fda58
parent05df6464ef70705beae97b0e5d3807b4bc37de72 (diff)
downloadansible-227dfc17f38e2856094559e9734e1a3f10777829.tar.gz
fix tree output
-rw-r--r--lib/ansible/callbacks.py2
1 files changed, 1 insertions, 1 deletions
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))
########################################################################