1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

include_vars plugin should look in vars/ path for a role.

This commit is contained in:
Michael DeHaan 2013-11-02 09:34:05 -04:00
parent 99687749a3
commit 70c9028e1e

View file

@ -38,7 +38,7 @@ class ActionModule(object):
source = template.template(self.runner.basedir, source, inject)
if '_original_file' in inject:
source = utils.path_dwim_relative(inject['_original_file'], 'files', source, self.runner.basedir)
source = utils.path_dwim_relative(inject['_original_file'], 'vars', source, self.runner.basedir)
else:
source = utils.path_dwim(self.runner.basedir, source)