diff --git a/library/files/synchronize b/library/files/synchronize index 0fea4003203..c9f387c50f4 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']