From 5de7e6d27ed0a7bbe6982a043a61feb063a9596f Mon Sep 17 00:00:00 2001
From: Robin Richter <robin.richter@mailbox.tu-dresden.de>
Date: Mon, 18 May 2020 14:15:53 +0200
Subject: [PATCH] substitute 'locale_gen' with 'command: locale-gen'

---
 tasks/configure.yml | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/tasks/configure.yml b/tasks/configure.yml
index e300493..3c40b72 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
-- 
GitLab