Ensure duplicate roles are not loaded in the case of a missing meta/main.yml file.
This commit is contained in:
parent
4eedfa46a2
commit
0411ea2867
1 changed files with 2 additions and 0 deletions
|
@ -194,6 +194,8 @@ class Play(object):
|
|||
continue
|
||||
else:
|
||||
self.included_roles.append(dep)
|
||||
else:
|
||||
continue
|
||||
dep_vars = utils.combine_vars(passed_vars, dep_vars)
|
||||
dep_vars = utils.combine_vars(role_vars, dep_vars)
|
||||
vars = self._resolve_main(utils.path_dwim(self.basedir, os.path.join(dep_path, 'vars')))
|
||||
|
|
Loading…
Reference in a new issue