ansible/changelogs/fragments/action-plugin-always-cleanup.yml
Matt Martz 03a4edb477 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 jinja2
2019-12-06 17:29:26 -05:00

8 lines
383 B
YAML

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.