From 3dd93ee2e4475c7e9f14387aa5bfdf70e7a7f6aa Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 5 Jul 2013 01:20:08 -0400 Subject: [PATCH] Closing stdin too early. --- lib/ansible/runner/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py index afb7c12a53e..701abb087f8 100644 --- a/lib/ansible/runner/__init__.py +++ b/lib/ansible/runner/__init__.py @@ -74,8 +74,6 @@ def _executor_hook(job_queue, result_queue, new_stdin): pass except: traceback.print_exc() - if new_stdin: - new_stdin.close() class HostVars(dict): ''' A special view of setup_cache that adds values from the inventory when needed. '''