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
20d4749d
Commit
20d4749d
authored
Apr 14, 2014
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6969 from sivel/rax-inventory-fix-empty-group
Fix empty group name in rax.py output
parents
4f9dafd3
21a2d32f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
+1
-0
plugins/inventory/rax.py
+1
-0
No files found.
plugins/inventory/rax.py
View file @
20d4749d
...
@@ -168,6 +168,7 @@ def _list(regions):
...
@@ -168,6 +168,7 @@ def _list(regions):
groups
[
group
]
.
append
(
server
.
name
)
groups
[
group
]
.
append
(
server
.
name
)
for
extra_group
in
server
.
metadata
.
get
(
'groups'
,
''
)
.
split
(
','
):
for
extra_group
in
server
.
metadata
.
get
(
'groups'
,
''
)
.
split
(
','
):
if
extra_group
:
groups
[
extra_group
]
.
append
(
server
.
name
)
groups
[
extra_group
]
.
append
(
server
.
name
)
# Add host metadata
# Add host metadata
...
...
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