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:
commit
ffd4ae11b8
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ class Connection(object):
|
||||||
self.common_args += ["-o", "KbdInteractiveAuthentication=no",
|
self.common_args += ["-o", "KbdInteractiveAuthentication=no",
|
||||||
"-o", "PasswordAuthentication=no"]
|
"-o", "PasswordAuthentication=no"]
|
||||||
self.common_args += ["-o", "User="+self.runner.remote_user]
|
self.common_args += ["-o", "User="+self.runner.remote_user]
|
||||||
|
self.common_args += ["-o", "ConnectTimeout="+str(self.runner.timeout)]
|
||||||
|
|
||||||
return self
|
return self
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue