ansible-ffrgb/roles/web_svc/templates/uisp_certs.j2

16 lines
301 B
Django/Jinja

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