Changes to yaml inventory parser in 2.6

Hello,

I installed 2.6 rc3 on a CentOS 7 machine this morning with the rpm from releases.ansible.com.

First thing I noticed is that there are some significant changes to the yaml inventory parser. Most notably is that this doesn’t work anymore:

group1:
children:
group2:

group2:
hosts:
host1:
host2:

So if I do “ansible group1 --list-hosts” it complains about this:

[WARNING]: Skipping ‘group2’ as this is not a valid group definition

So is this a feature and I can no longer reference groups defined elsewhere in the file or is it a bug?

Thanks,
Steve