summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorGanesh Nalawade <ganesh634@gmail.com>2017-05-13 14:58:14 +0200
committerGitHub <noreply@github.com>2017-05-13 14:58:14 +0200
commit5ec7f401969839da66018b8753edf5caf045fb0c (patch)
tree14627ac0b822ee93b3526f5abc59865dcf98109b /bin
parentcloudstack: return known used resources in fail_json (#24575) (diff)
downloadansible-5ec7f401969839da66018b8753edf5caf045fb0c.tar.xz
ansible-5ec7f401969839da66018b8753edf5caf045fb0c.zip
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: