Add option to configure knot server identity
This commit is contained in:
parent
3660754332
commit
3dd19606f5
2 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
knot_server_rundir: /run/knot
|
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_listen:
|
knot_server_listen:
|
||||||
- "::@53"
|
- "::@53"
|
||||||
- "0.0.0.0@53"
|
- "0.0.0.0@53"
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
server:
|
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 }}"
|
||||||
{% for addr in knot_server_listen %}
|
{% for addr in knot_server_listen %}
|
||||||
listen: "{{ addr }}"
|
listen: "{{ addr }}"
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue