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

now deps is always a list

This commit is contained in:
Brian Coca 2015-10-07 15:41:11 -04:00
parent 8a1426059f
commit 638bc14566

View file

@ -347,7 +347,7 @@ class GalaxyCLI(CLI):
# install dependencies, if we want them
if not no_deps and installed:
role_dependencies = role.metadata.get('dependencies', [])
role_dependencies = role.metadata.get('dependencies') or []
for dep in role_dependencies:
self.display.debug('Installing dep %s' % dep)
dep_req = RoleRequirement()