ansible/roles/web_stats/templates/certs.j2
Mephisto 309105d948
Some checks failed
continuous-integration/drone/push Build is failing
Add NGINX Role tailored for stateserver usage
2020-11-24 18:22:03 +01:00

16 lines
318 B
Django/Jinja

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