Adds search in template/files/vars relative to the playbook path (#26460)

pull/26469/head
Chris Houseknecht 8 years ago 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))

Loading…
Cancel
Save