ansible/roles/gogs/templates/certs.j2
2016-04-09 23:41:41 +02:00

16 lines
295 B
Django/Jinja

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