Skip to content

Commit 19b4318

Browse files
authored
Merge pull request #97 from stackhpc/el9
Install cephadm from el9 repo on RHEL9 family
2 parents 9de1cb9 + 0daa429 commit 19b4318

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/cephadm/tasks/pkg_redhat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
file: "ceph"
1919
name: "ceph-{{ item.0 + '-' + item.1 if item.0 == 'noarch' else item.1 }}"
2020
description: "Ceph {{ item.1 }} repo {{ item.0 }}"
21-
baseurl: "https://download.ceph.com/rpm-{{ item.1 }}/el8/{{ item.0 }}"
21+
baseurl: "https://download.ceph.com/rpm-{{ item.1 }}/el{{ ansible_facts.distribution_major_version }}/{{ item.0 }}"
2222
gpgcheck: true
2323
gpgkey: "https://download.ceph.com/keys/release.asc"
2424
state: "{{ 'present' if item.1 == cephadm_ceph_release else 'absent' }}"

0 commit comments

Comments
 (0)