Compare commits

...

2 commits

Author SHA1 Message Date
Mikhail Emelchenkov
830e139397
Merge c8d3acb75f into f0b5f039d3 2025-04-14 11:01:34 +00:00
Mikhail Emelchenkov
c8d3acb75f Fix: synchronize directories contains spaces in their paths 2022-02-22 11:03:59 +03:00

View file

@ -449,8 +449,8 @@ def main():
except ValueError: except ValueError:
module.fail_json(msg='Could not determine controller hostname for rsync to send to') module.fail_json(msg='Could not determine controller hostname for rsync to send to')
else: else:
source = module.params['src'] source = '"' + module.params['src'] + '"'
dest = module.params['dest'] dest = '"' + module.params['dest'] + '"'
dest_port = module.params['dest_port'] dest_port = module.params['dest_port']
delete = module.params['delete'] delete = module.params['delete']
private_key = module.params['private_key'] private_key = module.params['private_key']