mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Fix error reporting on bad type for config setting
This commit is contained in:
@@ -185,6 +185,7 @@ for setting in config.data.get_settings():
|
||||
pass # not a python data structure
|
||||
except:
|
||||
pass # not templatable
|
||||
value = ensure_type(value, setting.name)
|
||||
|
||||
value = ensure_type(value, setting.type)
|
||||
|
||||
set_constant(setting.name, value)
|
||||
|
||||
Reference in New Issue
Block a user