locale_gen: list instead of with_items.

This commit is contained in:
Denis Knauf 2024-09-19 23:48:29 +02:00
parent e2b16abac3
commit 82e50a34de

View file

@ -181,9 +181,8 @@
- name: generates locales - name: generates locales
community.general.locale_gen: community.general.locale_gen:
name: "{{item}}" name: "{{locales}}"
state: present state: present
with_items: '{{locales}}'
- name: default locale - name: default locale
copy: copy:
dest: /etc/default/locale dest: /etc/default/locale