mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix handling of config vars with eval expression (#29536)
The config variables defined with eval, like INVENTORY_IGNORE_EXTS, are not stored properly once the eval is processed. This causes references to the constant to still have the eval in the value.
This commit is contained in:
committed by
GitHub
parent
2bef344512
commit
f0aa31b49e
@@ -108,6 +108,6 @@ for setting in config.data.get_settings():
|
||||
except:
|
||||
value = setting.value
|
||||
|
||||
set_constant(setting.name, setting.value)
|
||||
set_constant(setting.name, value or setting.value)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user