diff --git a/lib/ansible/modules/system/service_facts.py b/lib/ansible/modules/system/service_facts.py index e5e06980f3d..ccfc0aa323a 100644 --- a/lib/ansible/modules/system/service_facts.py +++ b/lib/ansible/modules/system/service_facts.py @@ -202,6 +202,7 @@ class SystemctlScanService(BaseService): def main(): module = AnsibleModule(argument_spec=dict(), supports_check_mode=True) + module.run_command_environ_update = dict(LANG="C", LC_ALL="C") service_modules = (ServiceScanService, SystemctlScanService) all_services = {} incomplete_warning = False