]> git.phdru.name Git - ansible.git/blobdiff - playbooks/debian/roles/init-system/handlers/main.yml
Feat(debian): Change directory structure
[ansible.git] / playbooks / debian / roles / init-system / handlers / main.yml
diff --git a/playbooks/debian/roles/init-system/handlers/main.yml b/playbooks/debian/roles/init-system/handlers/main.yml
new file mode 100644 (file)
index 0000000..701e789
--- /dev/null
@@ -0,0 +1,16 @@
+- name: Configure locales
+  become: true
+  lineinfile:
+    path: /etc/locale.gen
+    regexp: "^{{ item }}"
+    line: "{{ item }}"
+  loop: [
+      'en_US ISO-8859-1',
+      'ru_RU.KOI8-R KOI8-R',
+      'ru_RU.UTF-8 UTF-8',
+  ]
+  notify: Regenerate locales
+
+- name: Regenerate locales
+  become: true
+  command: /usr/sbin/locale-gen