mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
changed role path template to read all vars instead of just extra_vars
This commit is contained in:
parent
2fe25f19dc
commit
2383a8205c
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ class Play(object):
|
|||
has_dict = {}
|
||||
|
||||
for role_path in roles:
|
||||
orig_path = template(self.basedir,role_path,self.playbook.extra_vars)
|
||||
orig_path = template(self.basedir,role_path,self.vars)
|
||||
|
||||
if type(orig_path) == dict:
|
||||
# what, not a path?
|
||||
|
|
Loading…
Reference in a new issue