From cadb57f446a60341d7a98068e55516ecd4b3ec74 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 --- files/synchronize | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/synchronize b/files/synchronize index 0fea4003203..c9f387c50f4 100644 --- a/files/synchronize +++ b/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']