volanja/ansible_spec

Fails for multiple levels of groups in inventory file

emmafass opened this issue · 1 comments

I am using my ansible .ini file as the inventory file specified in .ansiplespec. However I have a structure in my .ini like:

[atlanta]
host1

[raleigh]
host2

[southeast:children]
atlanta
raleigh

[usa:children]
southeast

The southeast group resolves properly, but the usa group does not. I believe there is an issue in the get_parent method in load_ansible.rb.

This issue has been marked as stale because it has not had recent activity.
It will be closed if no further activity occurs.
Thank you for your contributions.