state: latest
- include: configure_doh.yaml
- when: ansible_distribution in ["CentOS", "Fedora", "Debian", "Ubuntu"]
+ when: ansible_distribution in ["CentOS", "Rocky", "Fedora", "Debian", "Ubuntu"]
- include: restart_kresd.yaml
- include: test_doh.yaml
- when: distro in ["Fedora", "Debian", "CentOS"] or (distro == "Ubuntu" and ansible_distribution_major_version|int >= 18)
+ when: distro in ["Fedora", "Debian", "CentOS", "Rocky"] or (distro == "Ubuntu" and ansible_distribution_major_version|int >= 18)
- name: Test dnstap module
block:
state: latest
- include: configure_dnstap.yaml
- include: restart_kresd.yaml
- when: distro in ["Fedora", "Debian", "CentOS", "Ubuntu"]
+ when: distro in ["Fedora", "Debian", "CentOS", "Rocky", "Ubuntu"]
always:
--- /dev/null
+---
+# SPDX-License-Identifier: GPL-3.0-or-later
+- name: Install EPEL
+ yum:
+ name: epel-release
+ state: present
+
+- name: Download repo file(s)
+ get_url:
+ url: "{{ obs_repofile_url }}"
+ dest: /etc/yum.repos.d/home:CZ-NIC:{{ item }}.repo
+ mode: 0644
+ with_items: "{{ repos }}"