Fixes #6155 Inject checkmode into synchronize module args

This commit is contained in:
James Tanner 2014-02-25 08:58:58 -05:00
parent 6fe369fca0
commit 9209581565

View file

@ -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)