-
Notifications
You must be signed in to change notification settings - Fork 63
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
section keys not displayed when values overlap with global defaults #50
Comments
Indeed that's a bug that should have been handled when implementing issue #38 |
What's going on here is that in ini files, keys in the global section are returned as keys in each section. Therefore we have logic to strip keys from each section that overlap with the global section. |
@pixelb : thank you for the update. Is there anything I can do to help fixing this? I am not a python coder but willing to test. |
I am trying to manipulate my Ansible hosts.ini files, which looks like this:
When I want to get all hosts (global items), I run the following command:
However, when I want to display the hosts in section group1, I do not get any output at all:
If I modify the ini file to look like this:
and run the same command again I get the following output:
Is it possible to get identical behavior for the default and the other sections?
I am running crudini-0.9-1.el7.noarch
The text was updated successfully, but these errors were encountered: