Fix a variable name.
This commit is contained in:
parent
3367565215
commit
325be084aa
|
@ -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' ]
|
||||||
|
|
Loading…
Reference in New Issue