corrected original_file code path to use actually use data from original file
This commit is contained in:
parent
491761f880
commit
8ee4c7266c
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class ActionModule(ActionBase):
|
|||
fnd = self._loader.path_dwim_relative(self._task._role._role_path, 'files', fnt)
|
||||
of = task_vars.get('_original_file', None)
|
||||
if not os.path.exists(fnd) and of is not None:
|
||||
fnd = self._loader.path_dwim_relative(of, 'files', fnt)
|
||||
fnd = self._loader.path_dwim_relative(of, 'files', of)
|
||||
if os.path.exists(fnd):
|
||||
source = fnd
|
||||
found = True
|
||||
|
|
Loading…
Reference in a new issue