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