From 6ad5a3143721d73d2e69efc96dc324dc6cccf5e2 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) (cherry picked from commit 7f6c7c63342bd6d1c23cd9123b30986324ff6dce) --- 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 8702d5acfbe..a9c67d4c944 100644 --- a/lib/ansible/modules/system/parted.py +++ b/lib/ansible/modules/system/parted.py @@ -585,7 +585,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']