X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/fd3d0087259ed6991fe6ac44a1ced8507c0457e1..c1f305f1d26a92eaa7130394d3e04f27b4149107:/roles/email/tasks/dovecot.yml?ds=inline 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: