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:
parent
98f0a9210e
commit
21a5c55921
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue