From: Ralf Jung Date: Sun, 17 May 2020 11:44:54 +0000 (+0200) Subject: fix permissions for doveadm X-Git-Url: https://git.ralfj.de/ansible.git/commitdiff_plain/6ed68e5d856a1d75a488551c036523670d2245e6?hp=eb5ab9a3ffe8dc85874301218bbfdde5ea64ffcf fix permissions for doveadm --- diff --git a/roles/email/tasks/dovecot.yml b/roles/email/tasks/dovecot.yml index 6e1b12a..5d8ef0c 100644 --- a/roles/email/tasks/dovecot.yml +++ b/roles/email/tasks/dovecot.yml @@ -22,7 +22,7 @@ template: dest: /etc/dovecot/{{ item }} src: templates/dovecot/{{ item }} - mode: u=rw,g=r,o= + mode: u=rw,g=r,o=r # changepw needs read access group: dovecot loop: - conf.d/10-auth.conf @@ -34,6 +34,14 @@ - conf.d/20-lmtp.conf - conf.d/90-quota.conf - conf.d/auth-sql.conf.ext +- name: configure dovecot secrets + notify: dovecot + template: + dest: /etc/dovecot/{{ item }} + src: templates/dovecot/{{ item }} + mode: u=rw,g=r,o= + group: dovecot + loop: - dovecot-sql.conf.ext - name: install quota notification script template: