Merge branch 'fix_input_method' into 'master'
Define default input locale See merge request aurore/ansible!9
This commit is contained in:
commit
842debe8a5
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
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue