From cb26945d5414a6df48eee8dc1c9c46061431a331 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 5 Jul 2013 01:24:08 -0400 Subject: [PATCH] Close the named temporary file. --- lib/ansible/runner/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py index f1a49bc1a6..7e0bf0de02 100644 --- a/lib/ansible/runner/__init__.py +++ b/lib/ansible/runner/__init__.py @@ -872,6 +872,10 @@ class Runner(object): raise else: results = [ self._executor(h, None) for h in hosts ] + + + self.lockfile.close() + return self._partition_results(results) # *****************************************************