1
0
forked from infra/ansible
infra/roles/mail/templates/certs.j2

28 lines
606 B
Plaintext
Raw Normal View History

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
2016-04-06 19:02:54 +02:00
action: '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
2016-04-06 19:02:54 +02:00
action: '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
2016-04-06 19:02:54 +02:00
action: '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
2016-04-06 19:02:54 +02:00
action: 'service dovecot restart'