diff options
author | Ganesh Nalawade <ganesh634@gmail.com> | 2017-05-13 14:58:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-13 14:58:14 +0200 |
commit | 5ec7f401969839da66018b8753edf5caf045fb0c (patch) | |
tree | 14627ac0b822ee93b3526f5abc59865dcf98109b /bin | |
parent | cloudstack: return known used resources in fail_json (#24575) (diff) | |
download | ansible-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-x | bin/ansible-connection | 2 |
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: |