mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-31 21:39:10 -07:00
add support for using an alternate remote port
This commit is contained in:
parent
9777653741
commit
f06ec76fdb
5 changed files with 17 additions and 10 deletions
|
@ -65,7 +65,8 @@ class ParamikoConnection(object):
|
|||
allow_agent=True,
|
||||
look_for_keys=True,
|
||||
password=self.runner.remote_pass,
|
||||
timeout=self.runner.timeout
|
||||
timeout=self.runner.timeout,
|
||||
port=self.runner.remote_port
|
||||
)
|
||||
except Exception, e:
|
||||
raise errors.AnsibleConnectionFailed(str(e))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue