Update to 2020-12-07 21:00

master
Daniel Berteaud 3 years ago
parent c553e01950
commit 6be0f6bb32
  1. BIN
      roles/lemonldap_ng/files/logos/sentry.png
  2. 40
      roles/repo_base/tasks/base_CentOS8.yml

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

@ -1,30 +1,44 @@
---
- name: Configure base repositories
yum_repository:
file: CentOS-{{ item.repo }}
description: "Centos - {{ item.repo }}"
name: "{{ item.repo }}"
file: CentOS-Linux-{{ item.name }}
description: "Centos - {{ item.name }}"
name: "{{ item.name | lower }}"
baseurl: http://mirror.centos.org/$contentdir/$releasever/{{ item.repo }}/$basearch/os/
gpgcheck: True
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
enabled: "{{ item.enabled | default(True) }}"
loop:
- repo: BaseOS
- repo: AppStream
- repo: PowerTools
- repo: extras
- repo: cr
- name: BaseOS
repo: BaseOS
- name: AppStream
repo: AppStream
- name: PowerTools
repo: PowerTools
- name: Extras
repo: extras
- name: ContinuousRelease
repo: cr
enabled: False
- repo: centosplus
- name: Plus
repo: centosplus
enabled: False
- repo: fasttrack
- name: FastTrack
repo: fasttrack
enabled: False
tags: repo
- name: Remove Base file
file: path=/etc/yum.repos.d/{{ item }}.repo state=absent
loop:
- CentOS-Base # Replaced with CentOS-BaseOS
- CentOS-CR # Replaced with CentOS-cr
- CentOS-Extras # Replaced with CentOS-extras
- CentOS-Base # Replaced with CentOS-BaseOS
- CentOS-CR # Replaced with CentOS-cr
- CentOS-Extras # Replaced with CentOS-extras
- CentOS-BaseOS # Replaced with CentOS-Linux-BaseOS
- CentOS-AppStream # Replaced with CentOS-Linux-AppStream
- CentOS-PowerTools # Replaced with CentOS-Linux-PowerTools
- CentOS-centosplus # Replaced with CentOS-Linux-Plus
- CentOS-cr # Replaced with CentOS-Linux-ContinuousRelease
- CentOS-extras # Replaced with CentOS-Linux-Extras
- CentOS-fasttrack # Replaced with CentOS-Linux-FastTrack
tags: repo

Loading…
Cancel
Save