28 lines
606 B
Django/Jinja
28 lines
606 B
Django/Jinja
---
|
|
|
|
{{ mail_server }}:
|
|
- path: /etc/postfix/ssl/{{ mail_server }}.key
|
|
user: postfix
|
|
group: postfix
|
|
perm: '400'
|
|
format: key
|
|
action: 'service postfix restart'
|
|
- path: /etc/postfix/ssl/{{ mail_server }}.crt
|
|
user: postfix
|
|
group: postfix
|
|
perm: '400'
|
|
format: crt,ca
|
|
action: 'service postfix restart'
|
|
- path: /etc/dovecot/ssl/{{ mail_server }}.key
|
|
user: dovecot
|
|
group: dovecot
|
|
perm: '400'
|
|
format: key
|
|
action: 'service dovecot restart'
|
|
- path: /etc/dovecot/ssl/{{ mail_server }}.crt
|
|
user: dovecot
|
|
group: dovecot
|
|
perm: '400'
|
|
format: crt,ca
|
|
action: 'service dovecot restart'
|