From 5512e7a27c29acac58c0c120dbaf2f7311bf4ee3 Mon Sep 17 00:00:00 2001 From: Fabrizio Colonna Date: Thu, 1 Jun 2017 20:27:27 +0100 Subject: [PATCH] Fixes parted i18n issues (#24991) * Fixed issue 24969 * Used C locale and global env update. (cherry picked from commit f364d7af8e6134d686e54d65972dc0461e1e3a4a) --- lib/ansible/modules/system/parted.py | 1 + 1 file changed, 1 insertion(+) mode change 100755 => 100644 lib/ansible/modules/system/parted.py diff --git a/lib/ansible/modules/system/parted.py b/lib/ansible/modules/system/parted.py old mode 100755 new mode 100644 index a468c2adaab..8702d5acfbe --- a/lib/ansible/modules/system/parted.py +++ b/lib/ansible/modules/system/parted.py @@ -585,6 +585,7 @@ def main(): }, supports_check_mode=True, ) + module.run_command_environ_update = {'LANG': 'C', 'LC_ALL': 'C', 'LC_MESSAGES': 'C'} # Data extraction device = module.params['device']