Commit 6dd81f25 by jctanner

Merge pull request #4856 from akuznecov/devel

Resolves #4855 issue with synchronize module failing on multiple items
parents 5a3032a9 9d2f9bf9
......@@ -98,8 +98,8 @@ class ActionModule(object):
if rsync_path:
options['rsync_path'] = '"' + rsync_path + '"'
self.runner.module_args = ' '.join(['%s=%s' % (k, v) for (k,
module_items = ' '.join(['%s=%s' % (k, v) for (k,
v) in options.items()])
return self.runner._execute_module(conn, tmp, 'synchronize',
self.runner.module_args, inject=inject)
module_items, inject=inject)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment