recreate temp dir if it no longer exists

pull/1062/head
Mark Farrell 2 months ago
parent c4cf0d5ba2
commit cfb836ca9f

@ -358,6 +358,9 @@ class Runner(object):
return path
if self._temp_dir is None:
# Ensure that the temp directory is 'good' before we try to use it
ansible_mitogen.target.is_good_temp_dir(self.good_temp_dir)
self._temp_dir = tempfile.mkdtemp(
prefix='ansible_mitogen_runner_',
dir=self.good_temp_dir,

@ -20,8 +20,7 @@ To avail of fixes in an unreleased version, please download a ZIP file
Unreleased
----------
* :gh:issue:`1061` Fix recreating temp directory if it has been removed mid-play
v0.3.7 (2024-04-08)
-------------------

Loading…
Cancel
Save