Merge branch 'fix_input_method' into 'master'

Define default input locale

See merge request aurore/ansible!9
This commit is contained in:
Alexandre IOOSS 2019-03-03 09:44:59 +01:00
commit 842debe8a5
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 name: fr_FR.UTF-8
state: present 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 # Molly-Guard : prevent accidental shutdowns
- include_tasks: molly-guard.yml - include_tasks: molly-guard.yml