ansible-infra/roles/knot/handlers/main.yaml
lilly 5283d2da95
improve knot roles reloading behavior
With this change, the nameserver is not restarted on configuration
updates but only reloaded instead.
2026-05-06 14:33:04 +02:00

13 lines
253 B
YAML

---
- name: reload knot
tags: [ auth-dns ]
become: true
ansible.builtin.systemd:
name: knot.service
state: reloaded
- name: netplan apply
tags: [ auth-dns ]
become: true
changed_when: true
ansible.builtin.command: "netplan apply"