If the temp directory creation failed in mkdtemp then temp_path is never given a value. This would lead to a NameError exception which would obfuscate the original error (out of disk space being a common one). By catching NameError, python will raise the original exception as we want. Fixes #17215 |
||
---|---|---|
.. | ||
process | ||
__init__.py | ||
action_write_locks.py | ||
module_common.py | ||
play_iterator.py | ||
playbook_executor.py | ||
stats.py | ||
task_executor.py | ||
task_queue_manager.py | ||
task_result.py |