fix for rsync protocol support (#16756)

This commit is contained in:
peter.jang 2016-09-24 05:12:07 +09:00 committed by jctanner
parent 0f4c56a697
commit 0d94d39689

View file

@ -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: