mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
BUGFIX : using yaml hosts inventory, hosts in groups weren't added to the group 'all'
This commit is contained in:
parent
621e27b5dd
commit
283a88444f
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class InventoryParser(object):
|
|||
# 'all' at the time it was created.
|
||||
for group in self.groups.values():
|
||||
if group.depth == 0 and group.name not in ('all', 'ungrouped'):
|
||||
self.groups['all'].add_child_group(Group(group_name))
|
||||
self.groups['all'].add_child_group(group)
|
||||
|
||||
def _parse_groups(self, group, group_data):
|
||||
|
||||
|
|
Loading…
Reference in a new issue