summaryrefslogtreecommitdiffstats
path: root/distro/tests/ansible-roles/obs_repos/tasks/CentOS.yaml
blob: 2333a9588f17ebda29504203f60d9ccc766cefbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
# 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 }}"