summaryrefslogtreecommitdiffstats
path: root/distro/tests/ansible-roles/knot_resolver/tasks/configure_doh.yaml
blob: cd4e7492c5b637f76025c841c2aa230444148da5 (plain)
1
2
3
4
5
6
7
8
9
10
---
# SPDX-License-Identifier: GPL-3.0-or-later
- name: doh_config set up kresd.conf
  blockinfile:
    marker: -- {mark} ANSIBLE MANAGED BLOCK
    block: |
      net.listen('127.0.0.1', 44353, { kind = 'doh_legacy' })
      modules.load('http')
    path: /etc/knot-resolver/kresd.conf
    insertbefore: BOF