diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py index 45e6cb8d07a..1d993d4cc30 100644 --- a/lib/ansible/runner/__init__.py +++ b/lib/ansible/runner/__init__.py @@ -55,7 +55,6 @@ multiprocessing_runner = None OUTPUT_LOCKFILE = tempfile.TemporaryFile() PROCESS_LOCKFILE = tempfile.TemporaryFile() -MULTIPROCESSING_MANAGER = multiprocessing.Manager() ################################################ @@ -830,7 +829,7 @@ class Runner(object): def _parallel_exec(self, hosts): ''' handles mulitprocessing when more than 1 fork is required ''' - manager = MULTIPROCESSING_MANAGER + manager = multiprocessing.Manager() job_queue = manager.Queue() for host in hosts: job_queue.put(host)