2016-02-28 15:30:57 +01:00
|
|
|
---
|
|
|
|
|
2016-04-01 08:10:00 +02:00
|
|
|
{{ mail_server }}:
|
2016-04-08 09:28:53 +02:00
|
|
|
- path: /etc/postfix/ssl/{{ mail_server }}.key
|
2016-02-28 15:30:57 +01:00
|
|
|
user: postfix
|
|
|
|
group: postfix
|
|
|
|
perm: '400'
|
2016-04-08 09:28:53 +02:00
|
|
|
format: key
|
2017-02-28 14:48:03 +01:00
|
|
|
action: '/usr/sbin/service postfix restart'
|
2016-04-08 09:28:53 +02:00
|
|
|
- path: /etc/postfix/ssl/{{ mail_server }}.crt
|
2016-02-28 15:30:57 +01:00
|
|
|
user: postfix
|
|
|
|
group: postfix
|
|
|
|
perm: '400'
|
2016-04-08 09:28:53 +02:00
|
|
|
format: crt,ca
|
2017-02-28 14:48:03 +01:00
|
|
|
action: '/usr/sbin/service postfix restart'
|
2016-04-08 09:28:53 +02:00
|
|
|
- path: /etc/dovecot/ssl/{{ mail_server }}.key
|
2016-02-28 15:30:57 +01:00
|
|
|
user: dovecot
|
|
|
|
group: dovecot
|
|
|
|
perm: '400'
|
2016-04-08 09:28:53 +02:00
|
|
|
format: key
|
2017-02-28 14:48:03 +01:00
|
|
|
action: '/usr/sbin/service dovecot restart'
|
2016-04-08 09:28:53 +02:00
|
|
|
- path: /etc/dovecot/ssl/{{ mail_server }}.crt
|
2016-02-28 15:30:57 +01:00
|
|
|
user: dovecot
|
|
|
|
group: dovecot
|
|
|
|
perm: '400'
|
2016-04-08 09:28:53 +02:00
|
|
|
format: crt,ca
|
2017-02-28 14:48:03 +01:00
|
|
|
action: '/usr/sbin/service dovecot restart'
|