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
8b3674bf
Commit
8b3674bf
authored
Sep 23, 2013
by
Herby Gillot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor spacing cleanup
parent
6ddebb3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
plugins/inventory/ec2.py
+2
-2
No files found.
plugins/inventory/ec2.py
View file @
8b3674bf
...
@@ -337,7 +337,7 @@ class Ec2Inventory(object):
...
@@ -337,7 +337,7 @@ class Ec2Inventory(object):
# Inventory: Group by availability zone
# Inventory: Group by availability zone
self
.
push
(
self
.
inventory
,
instance
.
placement
,
dest
)
self
.
push
(
self
.
inventory
,
instance
.
placement
,
dest
)
# Inventory: Group by instance type
# Inventory: Group by instance type
self
.
push
(
self
.
inventory
,
self
.
to_safe
(
'type_'
+
instance
.
instance_type
),
dest
)
self
.
push
(
self
.
inventory
,
self
.
to_safe
(
'type_'
+
instance
.
instance_type
),
dest
)
...
@@ -425,7 +425,7 @@ class Ec2Inventory(object):
...
@@ -425,7 +425,7 @@ class Ec2Inventory(object):
r53_conn
=
route53
.
Route53Connection
()
r53_conn
=
route53
.
Route53Connection
()
all_zones
=
r53_conn
.
get_zones
()
all_zones
=
r53_conn
.
get_zones
()
route53_zones
=
[
zone
for
zone
in
all_zones
if
zone
.
name
[:
-
1
]
route53_zones
=
[
zone
for
zone
in
all_zones
if
zone
.
name
[:
-
1
]
not
in
self
.
route53_excluded_zones
]
not
in
self
.
route53_excluded_zones
]
self
.
route53_records
=
{}
self
.
route53_records
=
{}
...
...
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