ansible/roles/dns/handlers/main.yaml

15 lines
281 B
YAML

---
- name: reload unbound
service:
name: "{{ unbound_service_name }}"
state: reloaded
when: unbound_service_enabled
- name: restart unbound
service:
name: "{{ unbound_service_name }}"
state: restarted
when: unbound_service_enabled
# vim:ft=yaml.ansible: