ansible/roles/owncloud/templates/certs.j2

16 lines
307 B
Django/Jinja

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