ansible/roles/unbound/handlers/main.yml

15 lines
306 B
YAML

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