1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_unbound.git synced 2024-08-16 13:39:49 +02:00
ansible_role_unbound/handlers/main.yml

10 lines
227 B
YAML

---
- name: unbound checkconf
command: unbound-checkconf /etc/unbound/unbound.conf
changed_when: true
notify: systemctl restart unbound
- name: systemctl restart unbound
service:
name: unbound
state: restarted