ansible/lib/ansible
James Cammarata 54b1f820fb Modify the way we set the localization environment
Previously, we set the LANG (and LC_CTYPE) environment variables
directly in the module code and applied them with os.environ().
Instead, we are now pre-pending those variables to the environment
string used to execute the command which allows the user to
override the localization values by setting the environment values
directly (even on a per-task basis):

  - subversion: repo=file:///path/to/repos/svn_über dest=/tmp/svntest
    environment:
      LANG: "C"
      LC_CTYPE: "en_US.UTF-8"

So if a user wishes to default their LANG back to C, they can still
avoid unicode issues by doing the above.

Fixes #7060
2014-05-01 10:34:53 -05:00
..
callback_plugins Update various copyrights. Not complete, but sufficient. 2014-01-04 13:32:04 -05:00
inventory Micro-optimization: replace s.find(x)==0 with s.startswith(x) 2014-03-27 20:35:20 +02:00
module_utils Modify the way we set the localization environment 2014-05-01 10:34:53 -05:00
playbook Give more information when a task is empty 2014-04-23 13:13:46 +02:00
runner Modify the way we set the localization environment 2014-05-01 10:34:53 -05:00
utils Moving display-related functions to new module in utils 2014-04-30 15:33:46 -05:00
__init__.py Bump versions on the devel branch (devel branch version is 1.6) 2014-02-28 18:27:16 -05:00
callbacks.py Merge pull request #5555 from sivel/expose-playbook-to-callback 2014-04-03 17:01:28 -04:00
color.py Merge commit. 2014-03-16 17:08:26 -04:00
constants.py Adding a new system_warnings config option to supress warnings 2014-04-30 14:44:10 -05:00
errors.py Update various copyrights. Not complete, but sufficient. 2014-01-04 13:32:04 -05:00
module_common.py Modify the way we set the localization environment 2014-05-01 10:34:53 -05:00