Merge "Don't write playbook stats in binary mode"

This commit is contained in:
Zuul 2020-03-23 08:14:10 +00:00 committed by Gerrit Code Review
commit 731008b95f
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ class CallbackModule(CallbackBase):
self.env['playbook_name'],
self.current_time)
with open(log_file, 'wb') as js:
with open(log_file, 'w') as js:
js.write(json.dumps(output,
cls=AnsibleJSONEncoder,
indent=4,