Improve locale configuration

This commit is contained in:
Oleg Vasilev
2022-02-12 13:59:25 +03:00
parent 1529ac5ef5
commit 427b7ecac8
5 changed files with 38 additions and 5 deletions

View File

@@ -1,2 +1,15 @@
# {{ ansible_managed }}
LANG={{ use_system_locale }}
LANG="{{ system_locale_lang }}"
LC_CTYPE="{{ system_locale_ctype }}"
LC_NUMERIC="{{ system_locale_numeric }}"
LC_TIME="{{ system_locale_time }}"
LC_COLLATE="{{ system_locale_collate }}"
LC_MONETARY="{{ system_locale_monetary }}"
LC_MESSAGES="{{ system_locale_messages }}"
LC_PAPER="{{ system_locale_paper }}"
LC_NAME="{{ system_locale_name }}"
LC_ADDRESS="{{ system_locale_address }}"
LC_TELEPHONE="{{ system_locale_telephone }}"
LC_MEASUREMENT="{{ system_locale_measurement }}"
LC_IDENTIFICATION="{{ system_locale_identification }}"
LC_ALL="{{ system_locale_all }}"

View File

@@ -1,4 +1,4 @@
# {{ ansible_managed }}
{% for item in system_locales | default([]) %}
{% for item in system_locales %}
{{ item }}
{% endfor %}