ansible/roles/dns_resolver/templates/certs.j2
Markus Hauschild bf1b7e434d
Some checks failed
continuous-integration/drone/push Build is failing
dns_resolver: new role for resolver only
2020-11-24 22:40:48 +01:00

16 lines
334 B
Django/Jinja

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