Commit 5eea4b56 by Michael DeHaan

Merge pull request #3591 from cocoy/fix_3567

Allow roles to be interpolated from --extra-vars
parents 7965bc72 a4e829c8
......@@ -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