-
Notifications
You must be signed in to change notification settings - Fork 178
Open
Labels
bugSomething isn't workingSomething isn't workingnewNew issue, this should be removed once reviewedNew issue, this should be removed once reviewed
Description
Currently wildcard vars are handled like
lookup('ansible.builtin.varnames', 'gateway_settings.*'))
which works but causes duplicated items e.g. with the following defined:
gateway_settings
gateway_settings_test
Tweaking the parameter to be
lookup('ansible.builtin.varnames', 'gateway_settings_.*'))
would solve this issue and allow both of the above work together or independently.
The only potential downside would be that variables like
gateway_settingstest
wouldn't be accepted anymore but that seem more like a good thing.
What do you think, would a PR for this be acceptable? Thanks.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingnewNew issue, this should be removed once reviewedNew issue, this should be removed once reviewed