ansible-infra/roles/knot/handlers/main.yaml
lilly 416ca85b11
Some checks failed
/ Ansible Lint (pull_request) Successful in 2m37s
/ Ansible Lint (push) Has been cancelled
rename auth_dns -> knot role
2026-05-06 11:52:33 +02:00

19 lines
386 B
YAML

---
- name: restart knot
tags: [ auth-dns ]
become: true
ansible.builtin.systemd:
name: knot.service
state: restarted
- name: reload knot zones
tags: [ auth-dns ]
become: true
changed_when: true
ansible.builtin.command: "knotc zone-reload"
- name: netplan apply
tags: [ auth-dns ]
become: true
changed_when: true
ansible.builtin.command: "netplan apply"