From ffca0283b0d9ea3bd0bcee42681e143129d9ddfc Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 25 Oct 2012 09:07:33 -0400 Subject: [PATCH] Closing pool explicitly may cause some exceptions on certain Pythons, disable for now. --- lib/ansible/runner/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py index e92f27fe56..ab2acd167f 100644 --- a/lib/ansible/runner/__init__.py +++ b/lib/ansible/runner/__init__.py @@ -565,7 +565,6 @@ class Runner(object): p = multiprocessing.Pool(self.forks) try: result = p.map(_executor_hook, hosts) - p.close() except KeyboardInterrupt: p.terminate() raise errors.AnsibleError("Interrupted")