ansible/roles/unbound/handlers/main.yml

14 lines
321 B
YAML

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