mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Allow roles to be interpolated from --extra-vars
This commit is contained in:
parent
c3a8b6ff07
commit
a4e829c874
1 changed files with 2 additions and 1 deletions
|
@ -149,7 +149,8 @@ class Play(object):
|
|||
# variables if the role was parameterized (i.e. given as a hash)
|
||||
has_dict = {}
|
||||
|
||||
for orig_path in roles:
|
||||
for role_path in roles:
|
||||
orig_path = template(self.basedir,role_path,self.playbook.extra_vars)
|
||||
|
||||
if type(orig_path) == dict:
|
||||
# what, not a path?
|
||||
|
|
Loading…
Reference in a new issue