mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Merge pull request #3623 from ralph-tice/fix_3567_2
changed role path template to read all vars instead of just extra_vars
This commit is contained in:
@@ -151,7 +151,7 @@ class Play(object):
|
|||||||
has_dict = {}
|
has_dict = {}
|
||||||
|
|
||||||
for role_path in roles:
|
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:
|
if type(orig_path) == dict:
|
||||||
# what, not a path?
|
# what, not a path?
|
||||||
|
|||||||
Reference in New Issue
Block a user