ansible/roles/nsd/handlers/main.yml

15 lines
282 B
YAML

---
- name: Reload s6-rc
service:
name: s6-rc
state: reloaded
- name: Reload nsd
command: s6-svc -h /run/service/nsd
- name: Restart nsd
command: s6-svc -wR -T 5000 -ru /run/service/nsd
- name: Restart nsd log
command: s6-svc -wR -T 5000 -ru /run/service/nsd-log