Update test-module (#39331)

Update test-module To use C.DEFAULT_LOCAL_TMP
This commit is contained in:
mwpeterson 2018-04-26 10:16:33 -04:00 committed by Toshio Kuratomi
parent 83c1cba511
commit efdd92e1c0

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)