From 638bc14566f8f1044d1bbd8f57e68c348ec82b89 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 7 Oct 2015 15:41:11 -0400 Subject: [PATCH] now deps is always a list --- lib/ansible/cli/galaxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/cli/galaxy.py b/lib/ansible/cli/galaxy.py index 3903275a2f0..716eac9616d 100644 --- a/lib/ansible/cli/galaxy.py +++ b/lib/ansible/cli/galaxy.py @@ -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()