Merge "Don't write playbook stats in binary mode" into stable/train

This commit is contained in:
Zuul 2020-06-12 06:19:23 +00:00 committed by Gerrit Code Review
commit 5b73eaf317
1 changed files with 1 additions and 1 deletions

View File

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