From 658e8a93044fa1dd68cd0f6a1c5eaf1d027c7c57 Mon Sep 17 00:00:00 2001
From: therojam <github@therojam.tech>
Date: Sat, 1 May 2021 21:58:01 +0200
Subject: [PATCH] corrected domain 2 mail_domain

---
 tasks/users.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tasks/users.yml b/tasks/users.yml
index c437088..fac1ed8 100644
--- a/tasks/users.yml
+++ b/tasks/users.yml
@@ -12,7 +12,7 @@
     yunohost user create {{ item.name }} \
     -f {{ item.firstname }} \
     -l {{ item.lastname }} \
-    -d {{ item.domain }} \
+    -d {{ item.mail_domain }} \
     -p {{ item.pass }}
   loop: "{{ yunohost.users }}"
   when: item.name not in yunohost_registered_users.users.keys()
-- 
GitLab