Commit graph

3 commits

Author SHA1 Message Date
Albert Pool
6d421381a7
Simplify startswith()
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-06-21 21:53:28 +02:00
Albert Pool
ebb4d94da8 Synchronize plugin: Do not turn an SSH path into an absolute path
SSH paths of the form user@host:/remote/path can be used as either src or dest with rsync.

As the synchronize module already uses the presence of ':' to detect a source/destination over SSH, this commit updates the action plugin accordingly.
Without this commit, the path is turned into /local/path/user@host:/remote/path, which is not a valid syntax for rsync.
2020-05-24 17:42:32 +02:00
Ansible Core Team
6f928621f0 Initial commit 2020-03-09 13:15:28 +00:00