ansible/roles/nsd/handlers/main.yml
2022-07-04 02:47:17 +02:00

14 lines
297 B
YAML

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