From f364d7af8e6134d686e54d65972dc0461e1e3a4a 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. --- 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 1bfbecbe39..2ad9f5953d --- a/lib/ansible/modules/system/parted.py +++ b/lib/ansible/modules/system/parted.py @@ -590,6 +590,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']