mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Fix 4d355f8bf2
default values can contain nonstrings and those should not be converted via to_text.
This commit is contained in:
@@ -135,7 +135,7 @@ def _get_config(p, section, key, env_var, default):
|
||||
except:
|
||||
pass
|
||||
|
||||
return to_text(value, errors='surrogate_or_strict')
|
||||
return to_text(value, errors='surrogate_or_strict', nonstring='passthru')
|
||||
|
||||
|
||||
def load_config_file():
|
||||
|
||||
Reference in New Issue
Block a user