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']