summaryrefslogtreecommitdiff
path: root/lib/ansible/constants.py
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2016-06-15 11:21:04 -0700
committerBrian Coca <bcoca@ansible.com>2016-06-15 14:21:04 -0400
commita3959644ee635687f8d19c80e5af4aafd14045ac (patch)
treeb8f578bfbfe34adce69fc49b0a9339dd1d9684d3 /lib/ansible/constants.py
parent5a2b34e159f41bdb99e0da1f1038556b80fd7d14 (diff)
downloadansible-a3959644ee635687f8d19c80e5af4aafd14045ac.tar.gz
Change the default of module_set_locale to False. (#16313)
This makes Ansible no longer set LC_ALL for remote systems. It is up to the individual modules to set LC_ALL if they need it for screenscraping the output from a program. This is the 2.2 followup for #15138
Diffstat (limited to 'lib/ansible/constants.py')
-rw-r--r--lib/ansible/constants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/constants.py b/lib/ansible/constants.py
index a15fa0b552..a3ee0fa279 100644
--- a/lib/ansible/constants.py
+++ b/lib/ansible/constants.py
@@ -154,7 +154,7 @@ DEFAULT_MODULE_NAME = get_config(p, DEFAULTS, 'module_name', None,
DEFAULT_FORKS = get_config(p, DEFAULTS, 'forks', 'ANSIBLE_FORKS', 5, integer=True)
DEFAULT_MODULE_ARGS = get_config(p, DEFAULTS, 'module_args', 'ANSIBLE_MODULE_ARGS', '')
DEFAULT_MODULE_LANG = get_config(p, DEFAULTS, 'module_lang', 'ANSIBLE_MODULE_LANG', os.getenv('LANG', 'en_US.UTF-8'))
-DEFAULT_MODULE_SET_LOCALE = get_config(p, DEFAULTS, 'module_set_locale','ANSIBLE_MODULE_SET_LOCALE',True, boolean=True)
+DEFAULT_MODULE_SET_LOCALE = get_config(p, DEFAULTS, 'module_set_locale','ANSIBLE_MODULE_SET_LOCALE',False, boolean=True)
DEFAULT_MODULE_COMPRESSION= get_config(p, DEFAULTS, 'module_compression', None, 'ZIP_DEFLATED')
DEFAULT_TIMEOUT = get_config(p, DEFAULTS, 'timeout', 'ANSIBLE_TIMEOUT', 10, integer=True)
DEFAULT_POLL_INTERVAL = get_config(p, DEFAULTS, 'poll_interval', 'ANSIBLE_POLL_INTERVAL', 15, integer=True)