mirror of https://github.com/ansible/ansible.git
Add method to automatically clean up after an action plugin (#65509)
* Use correct var, move cleanup for async * Add changelog and tests. Fixes #65393. Fixes #65277. * Kill off all long running async tasks from listen_ports_facts * Update task to work with older jinja2pull/65626/head
parent
c97360d21f
commit
03a4edb477
@ -0,0 +1,7 @@
|
||||
bugfixes:
|
||||
- ActionBase - Add new ``cleanup`` method that is explicitly run by the
|
||||
``TaskExecutor`` to ensure that the shell plugins ``tmpdir`` is always
|
||||
removed. This change means that individual action plugins need not be
|
||||
responsible for removing the temporary directory, which ensures that
|
||||
we don't have code paths that accidentally leave behind the temporary
|
||||
directory.
|
Loading…
Reference in New Issue