Merge "Stop ignoring hostnames without underscores"
This commit is contained in:
commit
88439c1d8b
@ -120,10 +120,6 @@ def get_all_groups(inventory):
|
|||||||
containers = {}
|
containers = {}
|
||||||
for container_name in inventory['_meta']['hostvars'].keys():
|
for container_name in inventory['_meta']['hostvars'].keys():
|
||||||
|
|
||||||
# Skip the default group names since they're not helpful (like aio1).
|
|
||||||
if '_' not in container_name:
|
|
||||||
continue
|
|
||||||
|
|
||||||
groups = get_groups_for_container(inventory, container_name)
|
groups = get_groups_for_container(inventory, container_name)
|
||||||
containers[container_name] = groups
|
containers[container_name] = groups
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user