summaryrefslogtreecommitdiff
path: root/lib/ansible/config/base.yml
diff options
context:
space:
mode:
authorMatt Martz <matt@sivel.net>2023-04-17 17:30:08 -0500
committerGitHub <noreply@github.com>2023-04-17 17:30:08 -0500
commit0ee7cfb128a62362c015b2235633615542572dbc (patch)
tree586f7433cabfcd8adb3e8e9d8eb2e44a693e38e4 /lib/ansible/config/base.yml
parent694c11d5bdc7f5f7779d27315bec939dc9162ec6 (diff)
downloadansible-0ee7cfb128a62362c015b2235633615542572dbc.tar.gz
Implement checks, and backwards compat change, to move forward with UTF-8 only (#80370)
Co-authored-by: Sandra McCann <samccann@redhat.com>
Diffstat (limited to 'lib/ansible/config/base.yml')
-rw-r--r--lib/ansible/config/base.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/ansible/config/base.yml b/lib/ansible/config/base.yml
index 6449ed8b8c..052a8f0834 100644
--- a/lib/ansible/config/base.yml
+++ b/lib/ansible/config/base.yml
@@ -1752,6 +1752,17 @@ MODULE_IGNORE_EXTS:
ini:
- {key: module_ignore_exts, section: defaults}
type: list
+MODULE_STRICT_UTF8_RESPONSE:
+ name: Module strict UTF-8 response
+ description:
+ - Enables whether module responses are evaluated for containing non UTF-8 data
+ - Disabling this may result in unexpected behavior
+ - Only ansible-core should evaluate this configuration
+ env: [{name: ANSIBLE_MODULE_STRICT_UTF8_RESPONSE}]
+ ini:
+ - {key: module_strict_utf8_response, section: defaults}
+ type: bool
+ default: True
OLD_PLUGIN_CACHE_CLEARING:
description: Previously Ansible would only clear some of the plugin loading caches when loading new roles, this led to some behaviours in which a plugin loaded in previous plays would be unexpectedly 'sticky'. This setting allows to return to that behaviour.
env: [{name: ANSIBLE_OLD_PLUGIN_CACHE_CLEAR}]