mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
Avoid creating temporary directory for some action plugins
This ensures we don't litter remote systems with temporary directories that don't get cleaned up, as well as speeds things up from not having to touch every node.
This commit is contained in:
parent
f6e7381a71
commit
bda08c8a1b
6 changed files with 22 additions and 22 deletions
|
@ -23,6 +23,8 @@ from ansible.runner.return_data import ReturnData
|
|||
class ActionModule(object):
|
||||
''' Print statements during execution '''
|
||||
|
||||
NEEDS_TMPPATH = False
|
||||
|
||||
def __init__(self, runner):
|
||||
self.runner = runner
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue