mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Ensure standard locale in run_command (group3-batch1) (#11738)
* ensure standard locale in run_command (group3-batch1) * add changelog frag * fix changelog fragment: bugfixes, not minor_changes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix changelog fragment: American English, separate code spans per variable Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -163,7 +163,7 @@ class AlternativesModule:
|
||||
def __init__(self, module):
|
||||
self.module = module
|
||||
self.result = dict(changed=False, diff=dict(before=dict(), after=dict()))
|
||||
self.module.run_command_environ_update = {"LC_ALL": "C"}
|
||||
self.module.run_command_environ_update = {"LANGUAGE": "C", "LC_ALL": "C"}
|
||||
self.messages = []
|
||||
self.run()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user