From 39fcbd1f10a0f4cfb1a29a70912bc724ca9cea32 Mon Sep 17 00:00:00 2001 From: BoscoMW Date: Wed, 2 Apr 2014 15:57:54 +0300 Subject: [PATCH] Update ssh.py --- lib/ansible/runner/connection_plugins/ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/runner/connection_plugins/ssh.py b/lib/ansible/runner/connection_plugins/ssh.py index 2c2261194c8..8bf927f4d85 100644 --- a/lib/ansible/runner/connection_plugins/ssh.py +++ b/lib/ansible/runner/connection_plugins/ssh.py @@ -212,7 +212,7 @@ class Connection(object): except IOError, e: hfiles_not_found += 1 continue - else + else: data = host_fh.read() host_fh.close()