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

pull/4783/head
Michael DeHaan 11 years ago
parent 99687749a3
commit 70c9028e1e

@ -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)

Loading…
Cancel
Save