Compare commits

...

2 commits

Author SHA1 Message Date
Mikhail Emelchenkov
1ece506a4e
Merge c8d3acb75f into 12a1c25f5e 2023-07-07 23:19:45 +01:00
Mikhail Emelchenkov
c8d3acb75f Fix: synchronize directories contains spaces in their paths 2022-02-22 11:03:59 +03:00

View file

@ -430,8 +430,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']