mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
cast ssh port number as integer
This commit is contained in:
parent
89c013035e
commit
d34160ed26
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class ParamikoConnection(object):
|
|||
if 'hostname' in credentials:
|
||||
self.host = credentials['hostname']
|
||||
if 'port' in credentials:
|
||||
self.port = credentials['port']
|
||||
self.port = int(credentials['port'])
|
||||
if 'user' in credentials:
|
||||
user = credentials['user']
|
||||
if 'identityfile' in credentials:
|
||||
|
|
Loading…
Reference in a new issue