Merge pull request #13085 from agireud/check_mode_fix

Fix check mode argument
This commit is contained in:
James Cammarata 2015-11-09 10:56:45 -05:00
commit b7481e1c1d

View file

@ -129,7 +129,7 @@ def boilerplate_module(modfile, args, interpreter, check, destfile):
task_vars[interpreter_type] = interpreter_path
if check:
complex_args['CHECKMODE'] = True
complex_args['_ansible_check_mode'] = True
(module_data, module_style, shebang) = module_common.modify_module(
modfile,