Skip to content

Conversation

@russoz
Copy link
Collaborator

@russoz russoz commented Nov 8, 2025

SUMMARY

Extend the search for available locales to include /usr/local/share/i18n/SUPPORTED.

Fixes #10964

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

locale_gen

@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added feature This issue/PR relates to a feature request module module plugins plugin (any type) labels Nov 8, 2025
@russoz russoz changed the title locale_gen: search for available locales in /usr/local as well [WIP] locale_gen: search for available locales in /usr/local as well Nov 8, 2025
@russoz
Copy link
Collaborator Author

russoz commented Nov 8, 2025

I want to add an integration test before requesting reviews, so 🐻 with me.

@ansibullbot ansibullbot added the WIP Work in progress label Nov 8, 2025
@felixfontein felixfontein added check-before-release PR will be looked at again shortly before release and merged if possible. backport-12 Automatically create a backport for the stable-12 branch labels Nov 8, 2025
@ansibullbot ansibullbot added integration tests/integration tests tests labels Nov 8, 2025
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to add a [email protected] file next to it with a license header, or add it as a comment at the top of this file.

- name: Back up /etc/locale.gen
ansible.builtin.copy:
src: /etc/locale.gen
dest: /etc/locale.gen.bkp
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
dest: /etc/locale.gen.bkp
dest: /etc/locale.gen.bkp
remote_src: true

- name: Restore /etc/locale.gen
ansible.builtin.copy:
src: /etc/locale.gen.bkp
dest: /etc/locale.gen
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
dest: /etc/locale.gen
dest: /etc/locale.gen
remote_src: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-12 Automatically create a backport for the stable-12 branch check-before-release PR will be looked at again shortly before release and merged if possible. feature This issue/PR relates to a feature request integration tests/integration module module plugins plugin (any type) tests tests WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

locale_gen: unable to install custom locales

3 participants