summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGanesh Nalawade <ganesh634@gmail.com>2017-05-13 18:28:14 +0530
committerGitHub <noreply@github.com>2017-05-13 18:28:14 +0530
commit5ec7f401969839da66018b8753edf5caf045fb0c (patch)
tree14627ac0b822ee93b3526f5abc59865dcf98109b /bin
parent19e7abb971c157500ef65d227af77381632aef0d (diff)
downloadansible-5ec7f401969839da66018b8753edf5caf045fb0c.tar.gz
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
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ansible-connection2
1 files changed, 1 insertions, 1 deletions
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: