mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
Inventory: undefined group -> ungrouped.
Also change test name collision.
This commit is contained in:
parent
d419a13ca7
commit
e09572a8e1
2 changed files with 6 additions and 6 deletions
|
@ -54,12 +54,12 @@ class InventoryParser(object):
|
|||
|
||||
def _parse_base_groups(self):
|
||||
|
||||
undefined = Group(name='undefined')
|
||||
ungrouped = Group(name='ungrouped')
|
||||
all = Group(name='all')
|
||||
all.add_child_group(undefined)
|
||||
all.add_child_group(ungrouped)
|
||||
|
||||
self.groups = dict(all=all, undefined=undefined)
|
||||
active_group_name = 'undefined'
|
||||
self.groups = dict(all=all, ungrouped=ungrouped)
|
||||
active_group_name = 'ungrouped'
|
||||
|
||||
for line in self.lines:
|
||||
if line.startswith("["):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue