Skip to content

Commit

Permalink
mail_access_groups is plural...
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Aug 14, 2019
1 parent 276fc43 commit c5e6381
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c5e6381

Please sign in to comment.