mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 14:05:59 -03:30
Remove group by VPC for RDS instances.
This commit is contained in:
@@ -559,13 +559,6 @@ class Ec2Inventory(object):
|
|||||||
if self.nested_groups:
|
if self.nested_groups:
|
||||||
self.push_group(self.inventory, 'types', type_name)
|
self.push_group(self.inventory, 'types', type_name)
|
||||||
|
|
||||||
# Inventory: Group by VPC
|
|
||||||
if self.group_by_vpc_id and instance.vpc_id:
|
|
||||||
vpc_id_name = self.to_safe(instance.vpc_id)
|
|
||||||
self.push(self.inventory, vpc_id_name, dest)
|
|
||||||
if self.nested_groups:
|
|
||||||
self.push_group(self.inventory, 'vpcs', vpc_id_name)
|
|
||||||
|
|
||||||
# Inventory: Group by security group
|
# Inventory: Group by security group
|
||||||
if self.group_by_security_group:
|
if self.group_by_security_group:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user