ansible-infra/roles/auth_dns/handlers/main.yaml
lilly f9c1db8446
Some checks failed
/ Ansible Lint (push) Failing after 2m32s
/ Ansible Lint (pull_request) Failing after 2m32s
fix role name auth-dns -> auth_dns
2026-05-02 01:40:10 +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"