Comments (9)
Hey Jeff!
Thanks for the bug report!
Groups of groups are supported in the latest version of the Git repo. There is no package with that fix yet. Your use-case will probably still fail though, since I did not anticipate that a group "lb:children" would also count as a group called "lb". I will fix this as soon as possible.
from ansible-cmdb.
I'm also seeing KeyError errors when trying to parse groups of groups, with the latest code from the repo.
from ansible-cmdb.
Ferry,
Thanks for the fast reply.
I'm using the version from master, and the groups of groups work as
advertised, however it was the particular use-case I mentioned that was
failing. I should have clarified in the issue report that the bug was
being filed against master, and not the 0.3.deb version.
Thanks!
On Wed, Aug 19, 2015 at 5:26 PM, Ferry Boender [email protected]
wrote:
Hey Jeff!
Thanks for the bug report!
Groups of groups are supported in the latest version of the Git repo.
There is no package with that fix yet. Your use-case will probably still
fail though, since I did not anticipate that a group "lb:children" would
also count as a group called "lb". I will fix this as soon as possible.—
Reply to this email directly or view it on GitHub
#16 (comment)
.
Jeff Palmer
https://PalmerIT.net
from ansible-cmdb.
I'm still seeing KeyError errors when trying to parse groups of groups, with the latest trunk code from the repo.
Example:
[sftp-all:children]
sftp-product1
sftp-product2
[sftp-product1:children]
host1
host3
[sftp-product1:children]
hosta
hostd
It will complain about sftp-product1.
from ansible-cmdb.
Hey Cory!
Yes, I'm aware of this problem! The problem is with the fact that "sftp-product1:children" is itself also a group called "sftp-product1". I did not anticipate this. It means that children groups are basically recursive and I have to do a rewrite of the way I'm handling children groups. I'm planning on fixing this tomorrow.
from ansible-cmdb.
Hi Jeff!
I've rewritten the inventory parsing logic and committed it. (It took a bit to find a clean way of doing it). Could you check to see if it's handling your inventory properly now?
Thanks!
from ansible-cmdb.
I can confirm that this change fixed the issues that I was having with nested groups.
from ansible-cmdb.
That's great to hear Cory! Thank you for verifying the fix. I'm going to release a new version with packages soon, as this is a rather important bugfix.
from ansible-cmdb.
Ferry,
I was just able to confirm it works properly on my unmodified inventory directory too.
from ansible-cmdb.
Related Issues (20)
- Missing link to jquery breaks default presentation HOT 4
- CSV template - rendering error after custom facts added HOT 11
- RFE: Provide ability to prune some variables from host/group vars
- Is it possible to add additional & custom columns to the CSV template? HOT 2
- Comments must be stripped before calling shlex.split
- ModuleNotFoundError: No module named 'ansiblecmdb' HOT 2
- New column: public IP address HOT 1
- [html_fancy_split] Unable to sort custom column by mixed type "string"/ "num" AND how to custom template html_fancy_split HOT 9
- CSV import feature to manage inventory and host_vars easily HOT 1
- CSV export feature for easy reporting HOT 2
- kernel info to txt_table.tpl
- Ansible Tower Generated Json Output unable to generate report HOT 1
- No suitable python version found (v2.7 or higher required). Aborting HOT 4
- Template html fancy split is broken with Edge when excluding columns HOT 1
- Debian 11 can't use default template with ansible-cmdb 1.31 HOT 3
- F
- Markdown split doesn't work
- Does not get built with python-packaging 23.0
- [Question] Offline js libraries
- Using facts_cache for esx hosts is not working properly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-cmdb.