With this change, the nameserver is not restarted on configuration updates but only reloaded instead.
13 lines
253 B
YAML
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"
|