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
commit bda08c8a1b
6 changed files with 22 additions and 22 deletions

View file

@ -28,6 +28,7 @@ from ansible import module_common
from ansible.runner.return_data import ReturnData
class ActionModule(object):
NEEDS_TMPPATH = False
def __init__(self, runner):
self.runner = runner