mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 12:51:25 -07: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):
|
def _get_absolute_path(self, path):
|
||||||
original_path = path
|
original_path = path
|
||||||
|
|
||||||
|
if path.startswith('rsync://'):
|
||||||
|
return path
|
||||||
|
|
||||||
if self._task._role is not None:
|
if self._task._role is not None:
|
||||||
path = self._loader.path_dwim_relative(self._task._role._role_path, 'files', path)
|
path = self._loader.path_dwim_relative(self._task._role._role_path, 'files', path)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue