mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fix for rsync protocol support (#16756)
This commit is contained in:
parent
0f4c56a697
commit
0d94d39689
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ class ActionModule(ActionBase):
|
|||
def _get_absolute_path(self, path):
|
||||
original_path = path
|
||||
|
||||
if path.startswith('rsync://'):
|
||||
return path
|
||||
|
||||
if self._task._role is not None:
|
||||
path = self._loader.path_dwim_relative(self._task._role._role_path, 'files', path)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue