Define default input locale

This commit is contained in:
Alexandre Iooss 2019-03-03 09:43:14 +01:00
parent 7d09e9eb69
commit cf7e16d8b7
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,4 @@
---
# Reconfigure locales when conf changes
- name: Reconfigure locales
command: dpkg-reconfigure locales -f noninteractive

View file

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