Commit a4e829c8 by Rodney Quillo

Allow roles to be interpolated from --extra-vars

parent c3a8b6ff
......@@ -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?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment