summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@humppa.nl>2016-04-13 16:03:26 +0200
committerBrian Coca <bcoca@ansible.com>2016-04-13 10:03:26 -0400
commit2b8debbc2bda8bb55f627e8b8047812aa59409af (patch)
treed2b7522fcad3157e206f2c84f8d6d7b74e588759 /system
parent85c1440edea9d2cefdd85c686770df6ea523c060 (diff)
downloadansible-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.py2
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']