mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 09:07:03 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
29
roles/repo_base/tasks/AlmaLinux-8.yml
Normal file
29
roles/repo_base/tasks/AlmaLinux-8.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
|
||||
- name: Configure repositories
|
||||
yum_repository:
|
||||
file: "{{ item.file }}"
|
||||
description: "AlmaLinux {{ item.name }}"
|
||||
name: "{{ item.name }}"
|
||||
baseurl: https://repo.almalinux.org/almalinux/$releasever/{{ item.dir }}/$basearch/os/
|
||||
gpgcheck: True
|
||||
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
|
||||
enabled: "{{ item.enabled | default(True) }}"
|
||||
loop:
|
||||
- name: baseos
|
||||
file: almalinux
|
||||
dir: BaseOS
|
||||
- name: appstream
|
||||
file: almalinux
|
||||
dir: AppStream
|
||||
- name: extras
|
||||
file: almalinux
|
||||
dir: extras
|
||||
- name: powertools
|
||||
file: almalinux-powertools
|
||||
dir: PowerTools
|
||||
tags: repo
|
||||
|
||||
- include: epel_{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
|
||||
- include: fws_{{ ansible_os_family }}.yml
|
||||
- include: postgres_client_{{ ansible_os_family }}.yml
|
Reference in New Issue
Block a user