fix locales

This commit is contained in:
ace
2023-11-22 13:16:10 +03:00
parent 01c5755423
commit fe79606cf9

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