Fix timeout issue in ansible-connection (#24556)
Fixes #24520 ansible-connection needs to wait on timeout value of play-context instead of ssh default timeout
This commit is contained in:
parent
19e7abb971
commit
5ec7f40196
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ class Server():
|
||||||
if not data:
|
if not data:
|
||||||
break
|
break
|
||||||
|
|
||||||
signal.alarm(C.DEFAULT_TIMEOUT)
|
signal.alarm(self.play_context.timeout)
|
||||||
|
|
||||||
rc = 255
|
rc = 255
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue