Add centos-8 support

Renaming redhat-7.yml to redhat.yml and fixing ceph download url using "ansible_distribution_major_version" facts.

Change-Id: Ie26a4539c7c2e413e4dd61f3afaf1db8e8e2857e
This commit is contained in:
root 2020-07-06 00:36:40 -04:00
parent 662bf12050
commit 645f1241e8
1 changed files with 3 additions and 3 deletions

View File

@ -20,8 +20,8 @@ ceph_gpg_keys:
# EPEL GPG Keys
epel_gpg_keys:
# Extra Packages for Enterprise Linux 7
- key: /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
# Extra Packages for Enterprise Linux
- key: "/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-{{ ansible_distribution_major_version }}"
libvirt_packages:
- libvirt-daemon-kvm
@ -35,6 +35,6 @@ python_ceph_packages:
- python3-rbd
ceph_repo_url_region: "download" # see here for other mirros http://docs.ceph.com/docs/master/install/mirrors/
ceph_yum_repo_url: "https://{{ ceph_repo_url_region }}.ceph.com/rpm-{{ ceph_stable_release }}/el7"
ceph_yum_repo_url: "https://{{ ceph_repo_url_region }}.ceph.com/rpm-{{ ceph_stable_release }}/el{{ ansible_distribution_major_version }}"
# TODO mgariepy: add CentOS SIG ceph repo.