diff --git a/tasks/locale.yml b/tasks/locale.yml index dccb806..f1cc1f2 100644 --- a/tasks/locale.yml +++ b/tasks/locale.yml @@ -3,14 +3,14 @@ block: - name: Add/remove a list of locales 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" tags: [ 'systemsetup', 'locale' ] - block: - 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" tags: [ 'systemsetup', 'locale' ]