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:
parent
99687749a3
commit
70c9028e1e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue