Apparently reloading knot is not enough with some config changes (e.g. listen-address), restart instead
This commit is contained in:
parent
7ce38e0edf
commit
35ed3e09f2
2 changed files with 6 additions and 1 deletions
|
@ -4,3 +4,8 @@
|
|||
service:
|
||||
name: knot
|
||||
state: reloaded
|
||||
|
||||
- name: restart knot
|
||||
service:
|
||||
name: knot
|
||||
state: restarted
|
||||
|
|
|
@ -9,4 +9,4 @@
|
|||
mode: 0640
|
||||
vars:
|
||||
zones: "{{ hostvars[inventory_hostname] | dict2items | selectattr('key', 'match', '^knot_zone_.+$') | map(attribute='value') | list }}"
|
||||
notify: reload knot
|
||||
notify: restart knot
|
||||
|
|
Loading…
Reference in a new issue