Skip to content
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.py UbuntuMode bug #5281

Closed
1 task done
Bartosz-lab opened this issue Sep 12, 2022 · 5 comments
Closed
1 task done

locale_gen.py UbuntuMode bug #5281

Bartosz-lab opened this issue Sep 12, 2022 · 5 comments
Labels
bug This issue/PR relates to a bug has_pr module module plugins plugin (any type) system

Comments

@Bartosz-lab
Copy link
Contributor

Summary

When I tried to use locales_gen module in my playbook to manage locales in Ubuntu 22.04 it did nothing.

Issue Type

Bug Report

Component Name

module locale_gen

Ansible Version

# Ubuntu 22.04
$ ansible --version
ansible [core 2.13.4rc1]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/bartosz/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3/dist-packages/ansible
  ansible collection location = /home/bartosz/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.10.4 (main, Jun 29 2022, 12:14:53) [GCC 11.2.0]
  jinja version = 3.0.3
  libyaml = True

Community.general Version

# Ubuntu 22.04
$ ansible-galaxy collection list community.general

# /home/bartosz/.ansible/collections/ansible_collections
Collection        Version
----------------- -------
community.general 5.5.0  

Configuration

$ ansible-config dump --only-changed

OS / Environment

Ubuntu 22.04

Steps to Reproduce

    - name: Add Polish locales (don't add in ubuntu)
      community.general.locale_gen:
        name: pl_PL.UTF-8
        state: present
    
    - name: Delete English locales (don't delete on ubuntu)
      community.general.locale_gen:
        name: en_GB.UTF-8
        state: absent

Expected Results

I expected my script will set locales propertly, but it didn't work.

Actual Results

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
@ansibullbot
Copy link
Collaborator

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibullbot
Copy link
Collaborator

@ansibullbot
Copy link
Collaborator

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

This was referenced Nov 20, 2022
@russoz
Copy link
Collaborator

russoz commented Jun 19, 2023

@felixfontein looks like this was solved in #5282 but the issue wasn't closed?

@felixfontein
Copy link
Collaborator

@russoz thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug has_pr module module plugins plugin (any type) system
Projects
None yet
Development

No branches or pull requests

4 participants