1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/lib/ansible/runner
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
..
action_plugins Fix "no_log=True" option for copy module (fixes #7193) 2014-04-30 02:24:16 +08:00
connection_plugins Merge pull request #7079 from mscherer/fix_error_whitespace_in_config 2014-04-21 10:43:31 -05:00
filter_plugins Fix collision in random filter name by merging functionality 2014-04-22 14:21:00 -05:00
lookup_plugins etcd lookup: use $ANSIBLE_ETCD_URL if it exists in the env 2014-03-20 15:16:28 -07:00
__init__.py Modify the way we set the localization environment 2014-05-01 10:34:53 -05:00
connection.py Make private key customizable per host using ansible_ssh_private_key_file configurable as variable 2013-04-05 14:50:15 -04:00
poller.py Splitting SETUP_CACHE into two caches, one for host vars and one for setup facts 2014-04-01 16:23:33 -05:00
return_data.py Remove the legacy templating code, which was guarded by deprecation warnings in the previous two releases, and undocumented for a long time. use {{ foo }} to access variables instead of ${foo} or $foo. 2014-02-28 18:38:45 -05:00