ansible/roles/speedtest/templates/certs.j2

16 lines
331 B
Django/Jinja

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