Adding a config option to allow disabling locale settings upon module exec

Fixes #15138
This commit is contained in:
James Cammarata
2016-04-06 12:19:22 -04:00
parent edab8d338d
commit 040893a677
4 changed files with 25 additions and 5 deletions

View File

@@ -479,8 +479,22 @@ different locations::
Most users will not need to use this feature. See :doc:`developing_plugins` for more details
.. _module_set_locale:
module_set_locale
=================
This boolean value controls whether or not Ansible will prepend locale-specific environment variables (as specified
via the :doc:`module_lang` configuration option). By default this is enabled, and results in the LANG and LC_MESSAGES
being set when the module is executed on the given remote system.
.. note::
The module_set_locale option was added in Ansible 2.1.
.. _module_lang:
module_lang
===========