1
0
Fork 0
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:
James Cammarata 2015-08-13 09:52:41 -04:00
parent 033c77a13b
commit eb381bd522

View file

@ -234,6 +234,7 @@ class DataLoader():
# 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(basedir, source)))
# try to create absolute path for loader basedir + filename
search.append(self.path_dwim(source))