Commit 8bd56926 by Michael DeHaan

Merge pull request #1544 from pas256/devel

Adding more instance groups
parents 7cd013f8 aa043453
......@@ -298,7 +298,13 @@ class Ec2Inventory(object):
# Inventory: Group by availability zone
self.push(self.inventory, instance.placement, dest)
# Inventory: Group by instance type
self.push(self.inventory, self.to_safe('type_' + instance.instance_type), dest)
# Inventory: Group by key pair
self.push(self.inventory, self.to_safe('key_' + instance.key_name), dest)
# Inventory: Group by security group
try:
for group in instance.groups:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment