From 2898e000a0b993d5c4445c04c713f6f857ea88e1 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Wed, 23 Sep 2015 11:13:12 -0400 Subject: [PATCH] Don't use the connection timeout for the select poll timeout --- lib/ansible/plugins/connection/ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/connection/ssh.py b/lib/ansible/plugins/connection/ssh.py index c383ac133e..80e7d37615 100644 --- a/lib/ansible/plugins/connection/ssh.py +++ b/lib/ansible/plugins/connection/ssh.py @@ -444,7 +444,7 @@ class Connection(ConnectionBase): state += 1 while True: - rfd, wfd, efd = select.select(rpipes, [], rpipes, timeout) + rfd, wfd, efd = select.select(rpipes, [], rpipes, 0.1) # We pay attention to timeouts only while negotiating a prompt.