parent
70d024ffce
commit
621b18c6ef
1 changed files with 4 additions and 1 deletions
|
@ -61,7 +61,10 @@ class ActionModule(ActionBase):
|
||||||
if '_original_file' in task_vars:
|
if '_original_file' in task_vars:
|
||||||
source = self._loader.path_dwim_relative(task_vars['_original_file'], 'files', source)
|
source = self._loader.path_dwim_relative(task_vars['_original_file'], 'files', source)
|
||||||
else:
|
else:
|
||||||
source = self._loader.path_dwim(source)
|
if self._task._role is not None:
|
||||||
|
source = self._loader.path_dwim_relative(self._task._role._role_path, 'files', source)
|
||||||
|
else:
|
||||||
|
source = self._loader.path_dwim(source)
|
||||||
|
|
||||||
remote_checksum = self._remote_checksum(tmp, dest)
|
remote_checksum = self._remote_checksum(tmp, dest)
|
||||||
if remote_checksum != '3':
|
if remote_checksum != '3':
|
||||||
|
|
Loading…
Reference in a new issue