diff options
author | Jordan Borean <jborean93@gmail.com> | 2023-04-13 06:09:39 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-12 15:09:39 -0500 |
commit | 495d48d51eea1ca5eccaecbb4bc96341d759dc2b (patch) | |
tree | a77d3169141f07e16d0286d6d2329357c68b65ca /changelogs | |
parent | 7da4a992391230cfaad10fbf87dbb69f920f943d (diff) | |
download | ansible-495d48d51eea1ca5eccaecbb4bc96341d759dc2b.tar.gz |
Ansible.Basic - Improve temporary file cleanup process (#80293) (#80324)
* Ansible.Basic - Improve temporary file cleanup process
* Add comment on struct value used
(cherry picked from commit ba4505f5cb2fb52cda450a06679ddea3599e3e70)
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/fragments/win-temp-cleanup.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/changelogs/fragments/win-temp-cleanup.yml b/changelogs/fragments/win-temp-cleanup.yml new file mode 100644 index 0000000000..4283f2a1b6 --- /dev/null +++ b/changelogs/fragments/win-temp-cleanup.yml @@ -0,0 +1,8 @@ +bugfixes: +- >- + Windows - Improve temporary file cleanup used by modules. Will use a more reliable delete operation on Windows + Server 2016 and newer to delete files that might still be open by other software like Anti Virus scanners. There are + still scenarios where a file or directory cannot be deleted but the new method should work in more scenarios. +- >- + Windows - Display a warning if the module failed to cleanup any temporary files rather than failing the task. The + warning contains a brief description of what failed to be deleted. |