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:
Ganesh Nalawade
2017-05-13 18:28:14 +05:30
committed by GitHub
parent 19e7abb971
commit 5ec7f40196

View File

@@ -187,7 +187,7 @@ class Server():
if not data:
break
signal.alarm(C.DEFAULT_TIMEOUT)
signal.alarm(self.play_context.timeout)
rc = 255
try: