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

Add ConnectTimeout=DEFAULT_TIMEOUT to ssh args

This commit is contained in:
fdavis 2013-02-06 23:42:04 -08:00
parent 98f0a9210e
commit 21a5c55921

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