Have test-module clean up the local temp dir when it exits

Get test-module's debugger switch to do something useful with ziploader modules
This commit is contained in:
Toshio Kuratomi 2016-04-22 16:04:04 -07:00
parent 3ffd55ce7f
commit bdd73e31dc
2 changed files with 45 additions and 12 deletions

View file

@ -60,6 +60,7 @@ _SNIPPET_PATH = os.path.join(os.path.dirname(__file__), '..', 'module_utils')
ZIPLOADER_TEMPLATE = u'''%(shebang)s
%(coding)s
ZIPLOADER_WRAPPER = True # For test-module script to tell this is a ZIPLOADER_WRAPPER
# This code is part of Ansible, but is an independent component.
# The code in this particular templatable string, and this templatable string
# only, is BSD licensed. Modules which end up using this snippet, which is