mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 17:23:09 +00:00
Adds search in template/files/vars relative to the playbook path (#26460)
This commit is contained in:
committed by
GitHub
parent
cf5fb0acdf
commit
e2b340dfe0
@@ -305,6 +305,7 @@ class DataLoader:
|
||||
|
||||
# try to create absolute path for loader basedir + templates/files/vars + filename
|
||||
search.append(unfrackpath(os.path.join(dirname, source), follow=False))
|
||||
search.append(self.path_dwim(os.path.join(dirname, source)))
|
||||
|
||||
# try to create absolute path for loader basedir + filename
|
||||
search.append(self.path_dwim(source))
|
||||
|
||||
Reference in New Issue
Block a user