mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 08:15:54 +02:00
Update to 2022-07-23 12:00
This commit is contained in:
34
roles/repo_base/tasks/AlmaLinux-9.yml
Normal file
34
roles/repo_base/tasks/AlmaLinux-9.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
|
||||
- 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-9
|
||||
enabled: "{{ item.enabled | default(True) }}"
|
||||
loop:
|
||||
- name: baseos
|
||||
file: almalinux
|
||||
dir: BaseOS
|
||||
- name: appstream
|
||||
file: almalinux
|
||||
dir: AppStream
|
||||
- name: crb
|
||||
file: almalinux
|
||||
dir: CRB
|
||||
- name: extras
|
||||
file: almalinux
|
||||
dir: extras
|
||||
tags: repo
|
||||
|
||||
- include_tasks: epel_{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
|
||||
tags: always
|
||||
|
||||
- include_tasks: dbd_{{ ansible_os_family }}.yml
|
||||
tags: always
|
||||
|
||||
- include_tasks: postgres_client_{{ ansible_os_family }}.yml
|
||||
tags: always
|
12
roles/repo_base/tasks/epel_RedHat-9.yml
Normal file
12
roles/repo_base/tasks/epel_RedHat-9.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
|
||||
- name: Configure EPEL repository
|
||||
yum_repository:
|
||||
name: epel
|
||||
description: "Extra Package for Enterprise Linux"
|
||||
baseurl: http://mirrors.ircam.fr/pub/fedora/epel/$releasever/Everything/$basearch http://mir01.syntis.net/epel/$releasever/Everything/$basearch
|
||||
gpgcheck: True
|
||||
gpgkey: https://mir01.syntis.net/epel/RPM-GPG-KEY-EPEL-9
|
||||
exclude: dehydrated
|
||||
tags: repo
|
||||
|
Reference in New Issue
Block a user