-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathepel.yml
More file actions
27 lines (24 loc) · 778 Bytes
/
epel.yml
File metadata and controls
27 lines (24 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# SPDX-FileCopyrightText: 2022 Maxwell G <[email protected]>
# SPDX-License-Identifier: Unlicense
---
- name: Enable EPEL
hosts: all
become: true
tasks:
- when:
- "ansible_os_family == 'RedHat'"
- "ansible_distribution != 'Fedora'"
block:
- name: Enable EPEL
ansible.builtin.include_role:
name: gotmax23.epel.epel
- name: Enable EPEL Next
when:
- "ansible_distribution == 'CentOS'"
- "ansible_distribution_release == 'Stream'"
ansible.builtin.include_role:
name: gotmax23.epel.epel_next
- name: Enable CRB
when: ansible_distribution_major_version | int >= 8
ansible.builtin.include_role:
name: gotmax23.epel.crb