Update test-module (#39331)

Update test-module To use C.DEFAULT_LOCAL_TMP

(cherry picked from commit efdd92e1c0)
This commit is contained in:
mwpeterson 2018-04-26 10:16:33 -04:00 committed by Toshio Kuratomi
parent 757fb5263f
commit f529d75865

View file

@ -125,6 +125,7 @@ def boilerplate_module(modfile, args, interpreters, check, destfile):
# default selinux fs list is pass in as _ansible_selinux_special_fs arg
complex_args['_ansible_selinux_special_fs'] = C.DEFAULT_SELINUX_SPECIAL_FS
complex_args['_ansible_tmpdir'] = C.DEFAULT_LOCAL_TMP
if args.startswith("@"):
# Argument is a YAML file (JSON is a subset of YAML)