Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-i option doesn't seem to work correctly when using inventory of multiple files. #66

Closed
blutgens opened this issue Mar 16, 2016 · 2 comments

Comments

@blutgens
Copy link

We chose to break our inventory out into multiple files as it's easier to manage and we can use a simple script that aggregates and builds lists from multiple sources.

Thus my ansible inventory is made up of approximately 60+ ini style files in a dir. When I pass that dir to -i, groups seems to only be populated with a single group that a given host is a member of, instead of all of them.

If i concatenate all of my inventory files into a single file, it works just fine with ansible-cmdb.

@fboender
Copy link
Owner

Hi blutgens!

Thank you for the bug report.

I haven't verified it, but I think you're probably right that this doesn't work properly. I will fix this as soon as possible.

@fboender
Copy link
Owner

Hey blutgens,

I think I've fixed this issue in the latest master branch. Can you verify?

Thanks!

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

No branches or pull requests

2 participants