This commit is contained in:
parent
a54c5832a3
commit
241997396b
1 changed files with 15 additions and 3 deletions
|
@ -40,15 +40,27 @@
|
||||||
group: vmail
|
group: vmail
|
||||||
mode: 0770
|
mode: 0770
|
||||||
|
|
||||||
# Add the Dovecot configuration files
|
# Add the Dovecot configuration files (conf.d)
|
||||||
- name: Add Dovecot configuration
|
- name: Add Dovecot configuration in conf.d
|
||||||
template:
|
template:
|
||||||
src: "{{ item }}.j2"
|
src: "{{ item }}.j2"
|
||||||
dest: "/etc/dovecot/conf.d/{{ item }}"
|
dest: "/etc/dovecot/conf.d/{{ item }}"
|
||||||
mode: 0644
|
mode: 0644
|
||||||
notify: Reload dovecot
|
|
||||||
loop:
|
loop:
|
||||||
- "10-auth.conf"
|
- "10-auth.conf"
|
||||||
- "10-mail.conf"
|
- "10-mail.conf"
|
||||||
- "10-master.conf"
|
- "10-master.conf"
|
||||||
- "10-ssl.conf"
|
- "10-ssl.conf"
|
||||||
|
- "10-loggin.conf"
|
||||||
|
- "auth-system.conf.ext"
|
||||||
|
notify: Reload dovecot
|
||||||
|
|
||||||
|
# Add the Dovecot configuration file outside of conf.d
|
||||||
|
- name: Add Dovecot configuration outside of conf.d
|
||||||
|
template:
|
||||||
|
src: "dovecot-ldap.conf.ext.j2"
|
||||||
|
dest: "/etc/dovecot/dovecot-ldap-conf.ext"
|
||||||
|
mode: 0600 # only legible by root
|
||||||
|
owner: root
|
||||||
|
mode: root
|
||||||
|
notify: Reload dovecot
|
||||||
|
|
Loading…
Reference in a new issue