mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Add ConnectTimeout=DEFAULT_TIMEOUT to ssh args
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user