From 5ec7f401969839da66018b8753edf5caf045fb0c Mon Sep 17 00:00:00 2001 From: Ganesh Nalawade Date: Sat, 13 May 2017 18:28:14 +0530 Subject: [PATCH] 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 --- bin/ansible-connection | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ansible-connection b/bin/ansible-connection index dcbcea0d94..c49354a30d 100755 --- a/bin/ansible-connection +++ b/bin/ansible-connection @@ -187,7 +187,7 @@ class Server(): if not data: break - signal.alarm(C.DEFAULT_TIMEOUT) + signal.alarm(self.play_context.timeout) rc = 255 try: