From c5e6381b01d6725e524f67e2106fd8e29f874146 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Wed, 14 Aug 2019 16:09:32 +0200 Subject: [PATCH] mail_access_groups is plural... --- README.md | 2 +- defaults/main.yml | 2 +- tasks/main.yml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b924bf4..4b1523e 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ These variables are set in `defaults/main.yml`: dovecot_mailbox_location: mbox:~/mail:INBOX=/var/spool/mail/%u # Grant access to these supplementary groups for mail processes. -dovecot_mail_access_group: mail +dovecot_mail_access_groups: mail ``` Requirements diff --git a/defaults/main.yml b/defaults/main.yml index 77b8e55..95c3eac 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -5,4 +5,4 @@ dovecot_mailbox_location: mbox:~/mail:INBOX=/var/spool/mail/%u # Grant access to these supplementary groups for mail processes. -dovecot_mail_access_group: mail +dovecot_mail_access_groups: mail diff --git a/tasks/main.yml b/tasks/main.yml index d317ee5..00295cf 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -19,11 +19,11 @@ regexp: "^mail_location" line: "mail_location = {{ dovecot_mailbox_location }}" -- name: configure mail_access_group +- name: configure mail_access_groups lineinfile: path: /etc/dovecot/conf.d/10-mail.conf - regexp: "^mail_access_group" - line: "mail_access_group = {{ dovecot_mail_access_group }}" + regexp: "^mail_access_groups" + line: "mail_access_groups = {{ dovecot_mail_access_groups }}" - name: start and enable dovecot service: