mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fixes #6155 Inject checkmode into synchronize module args
This commit is contained in:
parent
6fe369fca0
commit
9209581565
1 changed files with 3 additions and 0 deletions
|
@ -170,6 +170,9 @@ class ActionModule(object):
|
|||
module_items = ' '.join(['%s=%s' % (k, v) for (k,
|
||||
v) in options.items()])
|
||||
|
||||
if self.runner.noop_on_check(inject):
|
||||
module_items += " CHECKMODE=True"
|
||||
|
||||
return self.runner._execute_module(conn, tmp, 'synchronize',
|
||||
module_items, inject=inject)
|
||||
|
||||
|
|
Loading…
Reference in a new issue