forked from ansible/ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stable-2.9] Add method to automatically clean up after an action plu…
…gin (ansible#65509) * Use correct var, move cleanup for async * Add changelog and tests. Fixes ansible#65393. Fixes ansible#65277. * Kill off all long running async tasks from listen_ports_facts * Update task to work with older jinja2 (cherry picked from commit 03a4edb) Co-authored-by: Matt Martz <matt@sivel.net>
- Loading branch information
Showing
6 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters