diff --git a/tasks/configure.yml b/tasks/configure.yml index e30049344916403107a60b346aac6692f0aa4900..3c40b726d5c6b42f69745cb39d16b416148bb822 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -11,9 +11,4 @@ mode: 0644 - name: activate '{{ locale | join(', ') }}' - locale_gen: - name: "{{ locale_item | regex_replace('^([^\\.]+)(\\..*)?$', '\\1') }}" - state: present - loop: '{{ locale }}' - loop_control: - loop_var: locale_item + command: locale-gen