From 9d2f9bf93c389307b019be6549d7518ba717f263 Mon Sep 17 00:00:00 2001 From: Alexander Kuznecov Date: Sat, 9 Nov 2013 00:14:55 +0700 Subject: [PATCH] resolves #4855 --- lib/ansible/runner/action_plugins/synchronize.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/runner/action_plugins/synchronize.py b/lib/ansible/runner/action_plugins/synchronize.py index a7e9873096..865fcbb2b2 100644 --- a/lib/ansible/runner/action_plugins/synchronize.py +++ b/lib/ansible/runner/action_plugins/synchronize.py @@ -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)