mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-04-19 23:31:13 +00:00
Set LANG and similar env variables to prevent translated cryptsetup output. (#388)
This commit is contained in:
@@ -821,6 +821,7 @@ def run_module():
|
||||
module = AnsibleModule(argument_spec=module_args,
|
||||
supports_check_mode=True,
|
||||
mutually_exclusive=mutually_exclusive)
|
||||
module.run_command_environ_update = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C', LC_CTYPE='C')
|
||||
|
||||
if module.params['device'] is not None:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user