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

28 lines
601 B
Plaintext
Raw Normal View History

2016-02-28 15:30:57 +01:00
---
{{ ansible_fqdn }}:
- path: /etc/postfix/ssl/{{ ansible_fqdn }}.crt
user: postfix
group: postfix
perm: '400'
format: crt
notify: 'service postfix reload'
- path: /etc/postfix/ssl/{{ ansible_fqdn }}.key
user: postfix
group: postfix
perm: '400'
format: key
notify: 'service postfix reload'
- path: /etc/dovecot/ssl/{{ ansible_fqdn }}.crt
user: dovecot
group: dovecot
perm: '400'
format: crt
notify: 'service dovecot reload'
- path: /etc/dovecot/ssl/{{ ansible_fqdn }}.key
user: dovecot
group: dovecot
perm: '400'
format: key
notify: 'service dovecot reload'