enable auth-dns role to actually configure useful zones

This commit is contained in:
lilly 2026-04-30 22:53:07 +02:00
commit f61640ec39
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g
7 changed files with 175 additions and 14 deletions

View file

@ -1,8 +1,18 @@
- tags: [ 02-auth-dns ]
- tags: [ auth-dns ]
name: restart knot
become: true
notify: restart knot
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"