1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Default port to 22 for paramiko when it is unset

This commit is contained in:
James Cammarata 2014-02-18 09:53:24 -06:00
parent 92cbfff904
commit f29ce80d12

View file

@ -117,7 +117,7 @@ class Connection(object):
self.sftp = None
self.runner = runner
self.host = host
self.port = port
self.port = port or 22
self.user = user
self.password = password
self.private_key_file = private_key_file