ansible/roles/pretix/templates/certs.j2

16 lines
321 B
Django/Jinja

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