Browse Source

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

stable/train
Zuul 1 month ago
committed by Gerrit Code Review
parent
commit
5b73eaf317
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      callback_plugins/validation_json.py

+ 1
- 1
callback_plugins/validation_json.py View File

@@ -151,7 +151,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,


Loading…
Cancel
Save