Allow for no role dependencies in role metadata

pull/5360/head
James Tanner 11 years ago
parent d971a53f9e
commit 993e0f057e

@ -203,6 +203,8 @@ class Play(object):
data = utils.parse_yaml_from_file(meta)
if data:
dependencies = data.get('dependencies',[])
if dependencies is None:
dependencies = []
for dep in dependencies:
allow_dupes = False
(dep_path,dep_vars) = self._get_role_path(dep)

Loading…
Cancel
Save