Fix timeout issue in ansible-connection (#24556) (#24579)

Fixes #24520 ansible-connection needs
to wait on timeout value of play-context
instead of ssh default timeout
(cherry picked from commit 5ec7f40196)
This commit is contained in:
Ganesh Nalawade
2017-05-13 18:35:13 +05:30
committed by GitHub
parent d94ac763b6
commit cc18296cc5
+1 -1
View File
@@ -188,7 +188,7 @@ class Server():
if not data:
break
signal.alarm(C.DEFAULT_TIMEOUT)
signal.alarm(self.play_context.timeout)
rc = 255
try: