Add option to configure knot server nsid

This commit is contained in:
s3lph 2021-01-16 05:40:04 +01:00
parent 3dd19606f5
commit 9c329c8897
2 changed files with 3 additions and 0 deletions

View file

@ -4,6 +4,8 @@ knot_server_rundir: /run/knot
knot_server_user: knot knot_server_user: knot
knot_server_group: knot knot_server_group: knot
knot_server_identity: "{{ ansible_hostname }}" knot_server_identity: "{{ ansible_hostname }}"
knot_server_nsid: "{{ ansible_hostname }}"
knot_server_version: "{{ ansible_hostname }}"
knot_server_listen: knot_server_listen:
- "::@53" - "::@53"
- "0.0.0.0@53" - "0.0.0.0@53"

View file

@ -6,6 +6,7 @@ server:
rundir: "{{ knot_server_rundir }}" rundir: "{{ knot_server_rundir }}"
user: "{{ knot_server_user }}:{{ knot_server_group }}" user: "{{ knot_server_user }}:{{ knot_server_group }}"
identity: "{{ knot_server_identity }}" identity: "{{ knot_server_identity }}"
nsid: "{{ knot_server_nsid }}"
{% for addr in knot_server_listen %} {% for addr in knot_server_listen %}
listen: "{{ addr }}" listen: "{{ addr }}"
{% endfor %} {% endfor %}