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:
Daniel Hokka Zakrisson 2012-11-28 16:22:35 +01:00
parent f6e7381a71
commit bda08c8a1b
6 changed files with 22 additions and 22 deletions

View file

@ -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