ansible/roles/nsd/handlers/main.yml

15 lines
297 B
YAML
Raw Permalink Normal View History

---
- 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