diff --git a/packaging/os/homebrew.py b/packaging/os/homebrew.py old mode 100644 new mode 100755 index 94d0ef865c4..077fd46dcc6 --- a/packaging/os/homebrew.py +++ b/packaging/os/homebrew.py @@ -813,6 +813,9 @@ def main(): ), supports_check_mode=True, ) + + module.run_command_environ_update = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C', LC_CTYPE='C') + p = module.params if p['name']: diff --git a/packaging/os/homebrew_cask.py b/packaging/os/homebrew_cask.py old mode 100644 new mode 100755 index e1b721a97b4..aa7d7ed84b8 --- a/packaging/os/homebrew_cask.py +++ b/packaging/os/homebrew_cask.py @@ -481,6 +481,9 @@ def main(): ), supports_check_mode=True, ) + + module.run_command_environ_update = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C', LC_CTYPE='C') + p = module.params if p['name']: diff --git a/system/svc.py b/system/svc.py old mode 100644 new mode 100755 index 0d3a83f6305..6cc8c1d21ef --- 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']