From a2ca0441aede92f85840d074fac93cc1752c10a4 Mon Sep 17 00:00:00 2001 From: Mikhail Emelchenkov Date: Tue, 13 May 2014 17:05:44 +0400 Subject: [PATCH] Fixed incorrect handling of paths contaiin whitespaces --- library/files/synchronize | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/files/synchronize b/library/files/synchronize index 0fea400320..c9f387c50f 100644 --- a/library/files/synchronize +++ b/library/files/synchronize @@ -221,8 +221,8 @@ def main(): supports_check_mode = True ) - source = module.params['src'] - dest = module.params['dest'] + source = '"' + module.params['src'] + '"' + dest = '"' + module.params['dest'] + '"' dest_port = module.params['dest_port'] delete = module.params['delete'] private_key = module.params['private_key']