diff options
author | Jasper Lievisse Adriaanse <jasper@humppa.nl> | 2016-04-13 16:03:26 +0200 |
---|---|---|
committer | Brian Coca <bcoca@ansible.com> | 2016-04-13 10:03:26 -0400 |
commit | 2b8debbc2bda8bb55f627e8b8047812aa59409af (patch) | |
tree | d2b7522fcad3157e206f2c84f8d6d7b74e588759 /system | |
parent | 85c1440edea9d2cefdd85c686770df6ea523c060 (diff) | |
download | ansible-modules-extras-2b8debbc2bda8bb55f627e8b8047812aa59409af.tar.gz |
Sprinkle some LANG/LC_* where command output is parsed (#2019)
Diffstat (limited to 'system')
-rwxr-xr-x[-rw-r--r--] | system/svc.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/svc.py b/system/svc.py index 0d3a83f6..6cc8c1d2 100644..100755 --- a/system/svc.py +++ b/system/svc.py @@ -249,6 +249,8 @@ def main(): supports_check_mode=True, ) + module.run_command_environ_update = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C', LC_CTYPE='C') + state = module.params['state'] enabled = module.params['enabled'] downed = module.params['downed'] |