Fixes #6155 Inject checkmode into synchronize module args

pull/5907/merge
James Tanner 11 years ago
parent 6fe369fca0
commit 9209581565

@ -170,6 +170,9 @@ class ActionModule(object):
module_items = ' '.join(['%s=%s' % (k, v) for (k, module_items = ' '.join(['%s=%s' % (k, v) for (k,
v) in options.items()]) v) in options.items()])
if self.runner.noop_on_check(inject):
module_items += " CHECKMODE=True"
return self.runner._execute_module(conn, tmp, 'synchronize', return self.runner._execute_module(conn, tmp, 'synchronize',
module_items, inject=inject) module_items, inject=inject)

Loading…
Cancel
Save