Adds search in template/files/vars relative to the playbook path (#26460)
This commit is contained in:
parent
cf5fb0acdf
commit
e2b340dfe0
1 changed files with 1 additions and 0 deletions
|
@ -305,6 +305,7 @@ class DataLoader:
|
||||||
|
|
||||||
# try to create absolute path for loader basedir + templates/files/vars + filename
|
# try to create absolute path for loader basedir + templates/files/vars + filename
|
||||||
search.append(unfrackpath(os.path.join(dirname, source), follow=False))
|
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
|
# try to create absolute path for loader basedir + filename
|
||||||
search.append(self.path_dwim(source))
|
search.append(self.path_dwim(source))
|
||||||
|
|
Loading…
Reference in a new issue