mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix import in ssh connection
This commit is contained in:
@@ -36,7 +36,7 @@ class Connection(object):
|
||||
elif transport == 'paramiko':
|
||||
conn = paramiko_ssh.ParamikoConnection(self.runner, host, port)
|
||||
elif transport == 'ssh':
|
||||
conn = SSHConnection(self.runner, host, port)
|
||||
conn = ssh.SSHConnection(self.runner, host, port)
|
||||
if conn is None:
|
||||
raise Exception("unsupported connection type")
|
||||
return conn.connect()
|
||||
|
||||
Reference in New Issue
Block a user