mirror of
https://github.com/ansible/awx.git
synced 2026-03-19 01:47:31 -02:30
AC-567 Remove source_tags from API/UI. Modify EC2 inventory to not return instance ID groups.
This commit is contained in:
@@ -336,8 +336,9 @@ class Ec2Inventory(object):
|
||||
# Add to index
|
||||
self.index[dest] = [region, instance.id]
|
||||
|
||||
# For AWX: do not output group based on instance ID!!!
|
||||
# Inventory: Group by instance ID (always a group of 1)
|
||||
self.inventory[instance.id] = [dest]
|
||||
# self.inventory[instance.id] = [dest]
|
||||
|
||||
# Inventory: Group by region
|
||||
self.push(self.inventory, region, dest)
|
||||
|
||||
Reference in New Issue
Block a user