mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-30 12:59:09 -07:00
made sure they all look in files/vars/template dirs also when executed in play and not only from task
This commit is contained in:
parent
861fdfc5ba
commit
950622cebd
8 changed files with 13 additions and 9 deletions
|
@ -64,7 +64,7 @@ class ActionModule(ActionBase):
|
|||
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)
|
||||
source = self._loader.path_dwim_relative(tself._loader.get_basedir(), 'files', source)
|
||||
|
||||
remote_checksum = self._remote_checksum(tmp, dest, all_vars=task_vars)
|
||||
if remote_checksum != '3':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue