fix locales

This commit is contained in:
ace 2023-11-22 13:15:20 +03:00
parent 117e6f630e
commit 622551768a
Signed by: ace
GPG Key ID: 2C08973DD37A76FD

View File

@ -2,12 +2,14 @@
dnf: dnf:
name: glibc-all-langpacks name: glibc-all-langpacks
state: present state: present
update_cache: true
when: ansible_facts['os_family'] == 'RedHat' when: ansible_facts['os_family'] == 'RedHat'
- name: Install locales-all for Debian - name: Install locales-all for Debian
apt: apt:
name: locales-all name: locales-all
state: present state: present
update_cache: true
when: ansible_distribution_file_variety == 'Debian' when: ansible_distribution_file_variety == 'Debian'
- name: Check if locale exists - name: Check if locale exists