diff --git a/lib/ansible/modules/packaging/os/redhat_subscription.py b/lib/ansible/modules/packaging/os/redhat_subscription.py index df4e062ab0..dca3e67117 100644 --- a/lib/ansible/modules/packaging/os/redhat_subscription.py +++ b/lib/ansible/modules/packaging/os/redhat_subscription.py @@ -556,7 +556,8 @@ class RhsmPools(object): args += " --consumed" else: args += " --available" - rc, stdout, stderr = self.module.run_command(args, check_rc=True) + lang_env = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C') + rc, stdout, stderr = self.module.run_command(args, check_rc=True, environ_update=lang_env) products = [] for line in stdout.split('\n'):