You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
To handle this case we'll have to tag the global values differently.
I.e. append '.default' to the value, and only exclude those from each section.
pixelb
changed the title
section variables not displayed when items do not contain equation marks
section keys not displayed when values overlap with global defaults
Dec 16, 2017
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: