ansible/roles/mail/templates/mailman/certs.j2

16 lines
308 B
Django/Jinja

---
{{ mailman_domain }}:
- path: /etc/nginx/ssl/{{ mailman_domain }}.crt
user: nginx
group: nginx
perm: '400'
format: crt,ca
action: 'service nginx restart'
- path: /etc/nginx/ssl/{{ mailman_domain }}.key
user: nginx
group: nginx
perm: '400'
format: key
action: 'service nginx restart'