From 7f6c7c63342bd6d1c23cd9123b30986324ff6dce Mon Sep 17 00:00:00 2001 From: Julien Vey Date: Thu, 29 Jun 2017 15:55:03 +0200 Subject: [PATCH] parted: Add missing LC_TYPE override for env vars (#26242) --- lib/ansible/modules/system/parted.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/system/parted.py b/lib/ansible/modules/system/parted.py index 2ad9f5953d..632aad118d 100644 --- a/lib/ansible/modules/system/parted.py +++ b/lib/ansible/modules/system/parted.py @@ -590,7 +590,7 @@ def main(): }, supports_check_mode=True, ) - module.run_command_environ_update = {'LANG': 'C', 'LC_ALL': 'C', 'LC_MESSAGES': 'C'} + module.run_command_environ_update = {'LANG': 'C', 'LC_ALL': 'C', 'LC_MESSAGES': 'C', 'LC_CTYPE': 'C'} # Data extraction device = module.params['device']