ansible-collection-nameserver/roles/master/templates/etc/knot/knot.d/00-server.conf.j2
2020-11-20 00:54:31 +01:00

14 lines
328 B
Django/Jinja

{{ ansible_managed | comment }}
server:
rundir: "{{ knot_server_rundir }}"
user: "{{ knot_server_user }}:{{ knot_server_group }}"
{% for addr in knot_server_listen %}
listen: "{{ addr }}"
{% endfor %}
log:
{% for target in knot_log_targets %}
- target: "{{ target.target }}"
any: "{{ target.level }}"
{% endfor %}