Fix a variable name.

This commit is contained in:
Andrea Dell'Amico 2020-05-22 19:12:41 +02:00
parent 3367565215
commit 325be084aa
1 changed files with 2 additions and 2 deletions

View File

@ -3,14 +3,14 @@
block: block:
- name: Add/remove a list of locales - name: Add/remove a list of locales
locale_gen: name={{ item.name }} state={{ item.state | default('present') }} locale_gen: name={{ item.name }} state={{ item.state | default('present') }}
with_items: '{{ deb_locales_list }}' with_items: '{{ locales_list }}'
when: ansible_distribution_file_variety == "Debian" when: ansible_distribution_file_variety == "Debian"
tags: [ 'systemsetup', 'locale' ] tags: [ 'systemsetup', 'locale' ]
- block: - block:
- name: Set the default locale on Trusty - name: Set the default locale on Trusty
shell: update-locale LANG={{ deb_default_locale }} shell: update-locale LANG={{ default_locale }}
when: ansible_distribution_release == "trusty" when: ansible_distribution_release == "trusty"
tags: [ 'systemsetup', 'locale' ] tags: [ 'systemsetup', 'locale' ]