Removed byte flag when opening the new JKS file. (#51951)

This commit is contained in:
Teodor Kostov 2019-02-19 17:47:02 +01:00 committed by ansibot
parent d7f5262dad
commit a5cd619ea6

View file

@ -163,7 +163,7 @@ def run_commands(module, cmd, check_rc=True):
def create_file(path, content):
with open(path, 'wb') as f:
with open(path, 'w') as f:
f.write(content)
return path