---
# SPDX-License-Identifier: GPL-3.0-or-later
- name: update CA certificates
  yum:
    name: ca-certificates
    state: latest

- 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 }}"
