1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Ensure duplicate roles are not loaded in the case of a missing meta/main.yml file.

This commit is contained in:
smoothify 2013-09-04 12:38:42 +01:00
parent 4eedfa46a2
commit 0411ea2867

View file

@ -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')))