1
0
forked from infra/ansible
infra/roles/web_plk/templates/certs.j2

16 lines
333 B
Django/Jinja

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