Define default input locale
This commit is contained in:
parent
7d09e9eb69
commit
cf7e16d8b7
2 changed files with 14 additions and 0 deletions
4
roles/baseconfig/handlers/main.yml
Normal file
4
roles/baseconfig/handlers/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
# Reconfigure locales when conf changes
|
||||
- name: Reconfigure locales
|
||||
command: dpkg-reconfigure locales -f noninteractive
|
|
@ -43,6 +43,16 @@
|
|||
name: fr_FR.UTF-8
|
||||
state: present
|
||||
|
||||
# Fix LC_CTYPE="C"
|
||||
- name: Select default locale
|
||||
debconf:
|
||||
name: locales
|
||||
question: locales/default_environment_locale
|
||||
value: fr_FR.UTF-8
|
||||
vtype: select
|
||||
notify:
|
||||
- Reconfigure locales
|
||||
|
||||
# Molly-Guard : prevent accidental shutdowns
|
||||
- include_tasks: molly-guard.yml
|
||||
|
||||
|
|
Loading…
Reference in a new issue