lxc_container: use tempfile.TemporaryDirectory (#11323)

* lxc_container: use tempfile.TemporaryDirectory

* add changelog frag

* typo
This commit is contained in:
Alexei Znamensky
2025-12-25 20:18:19 +13:00
committed by GitHub
parent 99b9680ea2
commit ec6b7bf91c
2 changed files with 65 additions and 70 deletions

View File

@@ -0,0 +1,2 @@
minor_changes:
- lxc_container - use ``tempfile.TemporaryDirectory()`` instead of ``mkdtemp()`` (https://github.com/ansible-collections/community.general/pull/11323).