mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-22 02:11:26 -07:00
Fix error reporting on bad type for config setting
This commit is contained in:
parent
c1400ce909
commit
c86fd6e2df
5 changed files with 28 additions and 17 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue