mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
IOS XR cli tests move to network_cli (#34007)
* Update task definitions for network_cli * Add connection to debug messages * Specify connection for prepare task * pc won't be around for connection=network_cli * Assorted Python 3 fixes * Give default port if ansible_ssh_port missing * delegate -> connection * Extend error regex
This commit is contained in:
@@ -328,7 +328,7 @@ def convert_key_to_base64(module):
|
||||
splitfile = key.split()[1]
|
||||
|
||||
base64key = b64decode(splitfile)
|
||||
base64file = open('/tmp/publickey_%s.b64' % (name), 'w')
|
||||
base64file = open('/tmp/publickey_%s.b64' % (name), 'bw')
|
||||
base64file.write(base64key)
|
||||
base64file.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user