Compare commits

..

No commits in common. "427b7ecac8876d8b982de04852edea2580c28bd9" and "5fa98c2a1e10f664afeb07f1645c2969487e65c6" have entirely different histories.

6 changed files with 6 additions and 39 deletions

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2022 Oleg "Zmey!" Vasiliev
Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

View File

@ -1,20 +0,0 @@
---
system_locales:
- "{{ system_locale_lang }}"
system_locale_lang: en_US.UTF-8
system_locale_ctype: "{{ system_locale_lang }}"
system_locale_numeric: "{{ system_locale_lang }}"
system_locale_time: "{{ system_locale_lang }}"
system_locale_collate: "{{ system_locale_lang }}"
system_locale_monetary: "{{ system_locale_lang }}"
system_locale_messages: "{{ system_locale_lang }}"
system_locale_paper: "{{ system_locale_lang }}"
system_locale_name: "{{ system_locale_lang }}"
system_locale_address: "{{ system_locale_lang }}"
system_locale_telephone: "{{ system_locale_lang }}"
system_locale_measurement: "{{ system_locale_lang }}"
system_locale_identification: "{{ system_locale_lang }}"
system_locale_all: ""

View File

@ -1,4 +1,4 @@
---
- name: Common | Generate locales
command: locale-gen
- name: System | Generate locales
shell: locale-gen

View File

@ -7,7 +7,7 @@
mode: 0644
owner: root
group: root
notify: Common | Generate locales
notify: System | Generate locales
- name: Common | Set system locale
template:

View File

@ -1,15 +1,2 @@
# {{ ansible_managed }}
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 }}"
LANG={{ use_system_locale }}

View File

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