ansible/roles/netbox/templates/certs.j2
Markus Hauschild d647550425
Some checks failed
continuous-integration/drone/push Build is failing
netbox: new host and role
2020-07-19 12:43:12 +02:00

16 lines
321 B
Django/Jinja

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