Tag all certificate and key copying

This commit is contained in:
Timo Makinen 2020-09-28 15:17:26 +00:00
parent 939edd1cdd
commit f543d599af
5 changed files with 11 additions and 0 deletions

View file

@ -10,6 +10,7 @@
- "/srv/letsencrypt/live/{{ nsd_server }}/privkey.pem"
- "/srv/ca/private/{{ nsd_server }}.key"
- "/srv/ca/private/{{ inventory_hostname }}.key"
tags: certificates
notify: restart nsd
- name: copy server key
@ -23,6 +24,7 @@
- "/srv/letsencrypt/live/{{ nsd_server }}/fullchain.pem"
- "/srv/ca/certs/{{ site }}.crt"
- "/srv/ca/certs/{{ inventory_hostname }}.crt"
tags: certificates
notify: restart nsd
- name: create nsd config