Refs #8025 debian base rol - more locales and group vars
This commit is contained in:
parent
7ec58a2f89
commit
32fa5102ce
|
@ -30,3 +30,6 @@ base_packages:
|
||||||
- btop
|
- btop
|
||||||
- ncdu
|
- ncdu
|
||||||
- debconf-utils
|
- debconf-utils
|
||||||
|
locales_present:
|
||||||
|
- en_US.UTF-8
|
||||||
|
- es_ES.UTF-8
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
- name: Configure debconf for locales
|
- name: make sure locales in variable are generated
|
||||||
debconf:
|
locale_gen:
|
||||||
name: locales
|
name: "{{ item }}"
|
||||||
question: "{{ item.question }}"
|
state: present
|
||||||
value: "{{ item.value }}"
|
with_items: "{{ locales_present }}"
|
||||||
vtype: "{{ item.vtype }}"
|
|
||||||
loop:
|
|
||||||
- { question: "locales/locales_to_be_generated", value: "en_US.UTF-8 UTF-8, es_ES.UTF-8 UTF-8", vtype: "multiselect" }
|
|
||||||
- { question: "locales/default_environment_locales", value: "en_US.UTF-8", vtype: "string" }
|
|
||||||
notify: generate locales
|
notify: generate locales
|
||||||
|
|
Loading…
Reference in New Issue