Commit 903678ea authored by Alexandru Ovidiu Gacea's avatar Alexandru Ovidiu Gacea
Browse files

create locale vars and add when condition to command localectl

parent 10d769fe
......@@ -7,8 +7,9 @@
name: language-pack-gnome-fr
state: present
- name: Mettre FR en tant que langue (locale) par défaut
command: localectl set-locale LANG=fr_FR.UTF-8 LANGUAGE=fr_FR.UTF-8
- name: Configure language/locale to "{{ config_system_locale }}"
command: localectl set-locale LANG="{{ config_system_locale }}" LANGUAGE="{{ config_system_locale }}"
when: ansible_env.LANG != "{{ config_system_locale }}"
- name: Add 'user' profile to dconf
template:
......
......@@ -2,6 +2,8 @@
# Les variables par défaut pour Gnome-desktop env
config_system_locale: 'fr_FR.UTF-8'
outils_de_base_gnome:
- baobab
- deja-dup
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment