mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add one more search path to path_dwim_relative
This commit is contained in:
parent
033c77a13b
commit
eb381bd522
1 changed files with 1 additions and 0 deletions
|
@ -234,6 +234,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(self.path_dwim(os.path.join(dirname,source)))
|
search.append(self.path_dwim(os.path.join(dirname,source)))
|
||||||
|
search.append(self.path_dwim(os.path.join(basedir, 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