1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #4856 from akuznecov/devel

Resolves #4855 issue with synchronize module failing on multiple items
This commit is contained in:
jctanner 2013-11-12 15:37:26 -08:00
commit 6dd81f25d9

View file

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