Skip to content
Snippets Groups Projects
Commit c4ef94e2 authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

improve dovecot role

parent bdd36824
No related branches found
No related tags found
No related merge requests found
---
- name: restart dovecot
service: name=dovecto state=restarted
service: name=dovecot state=restarted
......@@ -9,21 +9,22 @@
- dovecot-managesieved
- dovecot-sieve
tags:
- packages
- dovecot
- mail
- name: ensure all configs are present
template: src={{item.src}} dest={{item.dest}}
with_items:
- { src: 'templates/dovecot.j2', dest: '/etc/dovecot/dovecot.conf' }
- { src: 'templates/conf.d/10-auth.conf.j2', dest: '/etc/splat/conf.d/10-auth.conf' }
- { src: 'templates/conf.d/10-mail.conf.j2', dest: '/etc/splat/conf.d/10-mail.conf' }
- { src: 'templates/conf.d/10-master.conf.j2', dest: '/etc/splat/conf.d/10-master.conf' }
- { src: 'templates/conf.d/10-ssl.conf.j2', dest: '/etc/splat/conf.d/10-ssl.conf' }
- { src: 'templates/conf.d/auth-passwdfile.conf.ext.j2', dest: '/etc/splat/conf.d/auth-passwdfile.conf.ext.j2' }
- { src: 'templates/dovecot.conf.j2', dest: '/etc/dovecot/dovecot.conf' }
- { src: 'templates/conf.d/10-auth.conf.j2', dest: '/etc/dovecot/conf.d/10-auth.conf' }
- { src: 'templates/conf.d/10-mail.conf.j2', dest: '/etc/dovecot/conf.d/10-mail.conf' }
- { src: 'templates/conf.d/10-master.conf.j2', dest: '/etc/dovecot/conf.d/10-master.conf' }
- { src: 'templates/conf.d/10-ssl.conf.j2', dest: '/etc/dovecot/conf.d/10-ssl.conf' }
- { src: 'templates/conf.d/auth-passwdfile.conf.ext.j2', dest: '/etc/dovecot/conf.d/auth-passwdfile.conf.ext' }
notify:
- restart dovecot
tags:
- config
- dovecot
- mail
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment