You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ansible localhost -m community.general.locale_gen -a 'name=C.UTF-8'
Expected Results
should enable the obviously present locale
Actual Results
PLAY [Ansible Ad-Hoc] ***************************************************************************************************************************************************************************************TASK [community.general.locale_gen] *************************************************************************************************************************************************************************fatal: [localhost]: FAILED! => changed=false msg: The locale you've entered is not available on your system.PLAY RECAP **************************************************************************************************************************************************************************************************localhost : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Code of Conduct
I agree to follow the Ansible Code of Conduct
The text was updated successfully, but these errors were encountered:
Ignore me. Doing the bugreport, I saw that an old community.general version sneaked into the collection search path, which apparently is preferred over the more recent version in my project-specific ansible venv.
Setting COLLECTIONS_PATH in ansible.cfg removed the old collections in ~/.ansible/collections from the search path.
Summary
Passing 'C.UTF-8' to
community.general.locale_gen
fails again with"msg": "The locale you've entered is not available on your system."
This is a regression, earlier report is #5142
Issue Type
Bug Report
Component Name
locale_gen
Ansible Version
Community.general Version
Configuration
OS / Environment
target host: ubuntu 22.04.3
controller: ubuntu 22.04.3
Steps to Reproduce
ansible localhost -m community.general.locale_gen -a 'name=C.UTF-8'
Expected Results
should enable the obviously present locale
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: