mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update check mode argument
This commit is contained in:
parent
da4b4a2a33
commit
52ded67db5
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