REFACTOR: move setting locale and time into a separated role

This commit is contained in:
2026-08-09 17:43:47 +04:00
parent 4e6ffafeef
commit cb70968aaf
@@ -0,0 +1,19 @@
---
- name: Generate locales
community.general.locale_gen:
name:
- en_US.UTF-8
- ru_RU.UTF-8
state: present
- name: Set locale
ansible.builtin.copy:
dest: /etc/locale.conf
mode: '0644'
content: |
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
- name: Set time
community.general.timezone:
name: Europe/Samara