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:
parent
8a1426059f
commit
638bc14566
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ class GalaxyCLI(CLI):
|
||||||
|
|
||||||
# install dependencies, if we want them
|
# install dependencies, if we want them
|
||||||
if not no_deps and installed:
|
if not no_deps and installed:
|
||||||
role_dependencies = role.metadata.get('dependencies', [])
|
role_dependencies = role.metadata.get('dependencies') or []
|
||||||
for dep in role_dependencies:
|
for dep in role_dependencies:
|
||||||
self.display.debug('Installing dep %s' % dep)
|
self.display.debug('Installing dep %s' % dep)
|
||||||
dep_req = RoleRequirement()
|
dep_req = RoleRequirement()
|
||||||
|
|
Loading…
Reference in a new issue