mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix tree view to work with callbacks
This commit is contained in:
parent
45a455a805
commit
35c8750bbb
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class CliRunnerCallbacks(DefaultRunnerCallbacks):
|
|||
def on_unreachable(self, host, res):
|
||||
print "%s | FAILED => %s" % (host, res)
|
||||
if self.options.tree:
|
||||
utils.write_tree_file(self.options.tree, host, dict(failed=True, msg=res))
|
||||
utils.write_tree_file(self.options.tree, host, utils.bigjson(dict(failed=True, msg=res)))
|
||||
|
||||
def on_skipped(self, host):
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue