ansible/roles/unbound/handlers/main.yml

15 lines
321 B
YAML
Raw Normal View History

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