-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
locale_gen module cannot enable 'C' locale #5142
Comments
I think the problem is in this regexp:
It assumes that the locale name has an underscore. This is not the case for |
Related: #2399 |
Apparently we have
I am working on this, but |
Summary
When I try to ensure that the "C.UTF-8" locale is enabled, the locale-gen module says that "The locale you've entered is not available on your system." even though it is present in
/etc/locale.gen
Issue Type
Bug Report
Component Name
locale_gen
Ansible Version
Community.general Version
Configuration
OS / Environment
Ubuntu 22.04 (For some reason the target host does not have
/var/lib/locales/supported.d
as is normal for Ubuntu. However, other locales work so the problem is withC.UTF-8
)Steps to Reproduce
Expected Results
C locale is enabled (or nothing happens if it is already enabled)
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: