Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Inventories with nested groups can't be loaded #26

Open
castroflavio opened this issue Jul 16, 2019 · 2 comments
Open

Inventories with nested groups can't be loaded #26

castroflavio opened this issue Jul 16, 2019 · 2 comments

Comments

@castroflavio
Copy link

The following line doesn't work for nested groups as the key under group_name is children.
_host_list.update(list(self.inventory['all']['children'][group_name]['hosts'].keys()))

@pcuzner
Copy link
Collaborator

pcuzner commented Jul 17, 2019

Yeah, the initial use case didn't require nested group support. Is this an issue you'd like to take on?

@castroflavio
Copy link
Author

Thanks for the reply, now I'm just doing a POC, I may fork your project in the near future.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants