Skip to content

Commit c0fc605

Browse files
author
Jani Heikkinen
authored
Update pkg_debian.yml
handling of missing official ceph repository for quincy in Ubuntu 22.04
1 parent 2441dcb commit c0fc605

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

roles/cephadm/tasks/pkg_debian.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
apt_repository:
3131
repo: "deb [signed-by={{ cephadm_apt_key_path }}] https://download.ceph.com/debian-{{ item }}/ {{ cephadm_apt_repo_dist }} main"
3232
state: "{{ 'present' if item == cephadm_ceph_release else 'absent' }}"
33-
when: not cephadm_custom_repos | bool
33+
# there are not yet official repos for Ubuntu 22.04 so we use canonical repo
34+
# see https://docs.ceph.com/en/latest/cephadm/install/#cephadm-install-distros
35+
when: not cephadm_custom_repos | bool and item != "quincy"
3436
become: true
3537
loop: "{{ cephadm_ceph_releases }}"
3638

0 commit comments

Comments
 (0)