diff --git a/hacking/test-module b/hacking/test-module index aa517500570..e2e824e9e05 100755 --- a/hacking/test-module +++ b/hacking/test-module @@ -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)