From 325be084aa7c6e9f1796a5b88c560516b5f4c165 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 22 May 2020 19:12:41 +0200 Subject: [PATCH] Fix a variable name. --- tasks/locale.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' ]