Add CentOS8 High Availability repository

High Availability packages have been added as part of core CentOS
repositories in 8.1.

This patch add this repo and enables it as it provides corosync and
pacemaker based HA solution and some other packages required for it.

Change-Id: Idbddd81f251c1ade97892128e52f9214420bead7
This commit is contained in:
Alfredo Moralejo 2020-02-05 15:43:42 +01:00
parent eaf6295f00
commit 5074bca828
2 changed files with 8 additions and 0 deletions

View File

@ -9,6 +9,7 @@
with_items:
- etc/yum.repos.d/CentOS-AppStream.repo
- etc/yum.repos.d/CentOS-Base.repo
- etc/yum.repos.d/CentOS-HA.repo
- etc/yum.repos.d/CentOS-Extras.repo
- etc/yum.repos.d/CentOS-PowerTools.repo
- etc/yum.repos.d/epel.repo

View File

@ -0,0 +1,7 @@
# {{ ansible_managed }}
[HighAvailability]
name=CentOS-$releasever - HA
baseurl={{ package_mirror }}/$releasever/HighAvailability/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial