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