nsd: Restart nsd after certificate update
This commit is contained in:
parent
bdb2d9adb9
commit
8ca459430c
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
- "/srv/letsencrypt/live/{{ nsd_server }}/privkey.pem"
|
||||
- "/srv/ca/private/{{ nsd_server }}.key"
|
||||
- "/srv/ca/private/{{ inventory_hostname }}.key"
|
||||
notify: restart nsd
|
||||
|
||||
- name: copy server key
|
||||
copy:
|
||||
|
@ -22,6 +23,7 @@
|
|||
- "/srv/letsencrypt/live/{{ nsd_server }}/fullchain.pem"
|
||||
- "/srv/ca/certs/{{ site }}.crt"
|
||||
- "/srv/ca/certs/{{ inventory_hostname }}.crt"
|
||||
notify: restart nsd
|
||||
|
||||
- name: create nsd config
|
||||
template:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue