Sfoglia il codice sorgente

do not use locales-all

master
parent
commit
20001e8330
2 ha cambiato i file con 21 aggiunte e 7 eliminazioni
  1. +0
    -2
      defaults/main.yml
  2. +21
    -5
      tasks/main.yml

+ 0
- 2
defaults/main.yml Vedi File

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

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

+ 21
- 5
tasks/main.yml Vedi File

@@ -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

Loading…
Annulla
Salva