Update 'tasks/locale.yml' #1

Merged
tpiccioli merged 1 commits from tpiccioli-patch-1 into master 2021-10-26 19:24:34 +02:00
1 changed files with 1 additions and 4 deletions

View File

@ -19,10 +19,7 @@
register: localectl_executable
- name: Set the default locale
command: localectl set-locale "{{ item }}"
with_items:
- 'LANG={{ default_locale_lang }}'
- 'LC_MESSAGES={{ default_deb_locale_messages }}'
command: localectl set-locale 'LANG={{ default_locale_lang }}' 'LC_MESSAGES={{ default_deb_locale_messages }}'
when:
- localectl_executable.stat.exists | bool
- ansible_distribution_file_variety == "Debian"