Merge pull request #13085 from agireud/check_mode_fix
Fix check mode argument
This commit is contained in:
commit
b7481e1c1d
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ def boilerplate_module(modfile, args, interpreter, check, destfile):
|
||||||
task_vars[interpreter_type] = interpreter_path
|
task_vars[interpreter_type] = interpreter_path
|
||||||
|
|
||||||
if check:
|
if check:
|
||||||
complex_args['CHECKMODE'] = True
|
complex_args['_ansible_check_mode'] = True
|
||||||
|
|
||||||
(module_data, module_style, shebang) = module_common.modify_module(
|
(module_data, module_style, shebang) = module_common.modify_module(
|
||||||
modfile,
|
modfile,
|
||||||
|
|
Loading…
Reference in a new issue