mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Turns out the order is important (#34116)
This commit is contained in:
committed by
Kedar Kekan
parent
606540c15d
commit
9e09a9ea61
@@ -328,7 +328,7 @@ def convert_key_to_base64(module):
|
||||
splitfile = key.split()[1]
|
||||
|
||||
base64key = b64decode(splitfile)
|
||||
base64file = open('/tmp/publickey_%s.b64' % (name), 'bw')
|
||||
base64file = open('/tmp/publickey_%s.b64' % (name), 'wb')
|
||||
base64file.write(base64key)
|
||||
base64file.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user