Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
8a4deba0
Commit
8a4deba0
authored
9 years ago
by
Brian Coca
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11139 from wenottingham/galaxy-fix
Handle when role_dependencies is None.
parents
43385e26
2a003cba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
bin/ansible-galaxy
+2
-0
No files found.
bin/ansible-galaxy
View file @
8a4deba0
...
@@ -845,6 +845,8 @@ def execute_install(args, options, parser):
...
@@ -845,6 +845,8 @@ def execute_install(args, options, parser):
role_dependencies
=
role_data
[
'dependencies'
]
role_dependencies
=
role_data
[
'dependencies'
]
else
:
else
:
role_dependencies
=
role_data
[
'summary_fields'
][
'dependencies'
]
# api_fetch_role_related(api_server, 'dependencies', role_data['id'])
role_dependencies
=
role_data
[
'summary_fields'
][
'dependencies'
]
# api_fetch_role_related(api_server, 'dependencies', role_data['id'])
if
not
role_dependencies
:
role_dependencies
=
[]
for
dep
in
role_dependencies
:
for
dep
in
role_dependencies
:
if
isinstance
(
dep
,
basestring
):
if
isinstance
(
dep
,
basestring
):
dep
=
ansible
.
utils
.
role_spec_parse
(
dep
)
dep
=
ansible
.
utils
.
role_spec_parse
(
dep
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment