Przeglądaj źródła

do not use locales-all

master
rodzic
commit
20001e8330
2 zmienionych plików z 21 dodań i 7 usunięć
  1. +0
    -2
      defaults/main.yml
  2. +21
    -5
      tasks/main.yml

+ 0
- 2
defaults/main.yml Wyświetl plik

@@ -1,6 +1,4 @@
---
timezone: UTC

locales_default:
lang: de_DE.UTF-8
language: de

+ 21
- 5
tasks/main.yml Wyświetl plik

@@ -1,9 +1,25 @@
---
- name: uninstall locales
apt: pkg=locales state=absent
- name: locales-all absent
apt:
pkg: locales-all
state: absent

- name: install locales-all
apt: pkg=locales-all state=installed
- debconf:
name: locales
question: locales/default_environment_locale
value: de_DE.UTF-8
vtype: select

- name: template /etc/default/locale
- debconf:
name: locales
question: locales/locales_to_be_generated
value: de_DE.UTF-8 UTF-8
vtype: multiselect

- name: locales present
apt:
pkg: locales
state: present

- name: default locale
template: src=default_locale.j2 dest=/etc/default/locale

Ładowanie…
Anuluj
Zapisz