Skip to content
Snippets Groups Projects
Verified Commit 44db9911 authored by Jakub Ružička's avatar Jakub Ružička Committed by Tomas Krizek
Browse files

distro/tests: add dnstap test

parent 932ec206
No related branches found
No related tags found
1 merge request!1118add dnstap subpackage
Pipeline #74863 canceled
---
# SPDX-License-Identifier: GPL-3.0-or-later
- name: dnstap_config set up kresd.conf
blockinfile:
marker: -- {mark} ANSIBLE MANAGED BLOCK
block: |
modules.load('dnstap')
assert(dnstap)
path: /etc/knot-resolver/kresd.conf
insertbefore: BOF
......@@ -46,6 +46,16 @@
- include: test_doh.yaml
when: distro in ["Fedora", "Debian", "CentOS"] or (distro == "Ubuntu" and ansible_distribution_major_version|int >= 18)
- name: Test dnstap module
block:
- name: Install knot-resolver-module-dnstap
package:
name: knot-resolver-module-dnstap
state: latest
- include: configure_dnstap.yaml
- include: restart_kresd.yaml
when: distro in ["Fedora", "Debian", "CentOS", "Ubuntu"]
always:
- name: Get installed package version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment