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

Merge pull request #1993 from fdavis/timeout_ssh

Add ConnectTimeout=DEFAULT_TIMEOUT to ssh args
This commit is contained in:
Daniel Hokka Zakrisson 2013-02-07 03:20:46 -08:00
commit ffd4ae11b8

View file

@ -61,6 +61,7 @@ class Connection(object):
self.common_args += ["-o", "KbdInteractiveAuthentication=no",
"-o", "PasswordAuthentication=no"]
self.common_args += ["-o", "User="+self.runner.remote_user]
self.common_args += ["-o", "ConnectTimeout="+str(self.runner.timeout)]
return self