mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
fixes to vault/copy
rm _del_ as it might leak memory renamed to tmp file cleanup added exception handling when traversing file list, even if one fails try rest added cleanup to finally to ensure removal in most cases
This commit is contained in:
parent
cdf6e3e4bf
commit
5940d3d45b
5 changed files with 18 additions and 13 deletions
|
@ -194,6 +194,8 @@ class PlaybookExecutor:
|
|||
finally:
|
||||
if self._tqm is not None:
|
||||
self._tqm.cleanup()
|
||||
if self._loader:
|
||||
self._loader.cleanup_all_tmp_files()
|
||||
|
||||
if self._options.syntax:
|
||||
display.display("No issues encountered")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue