Skip to content

Commit d3c0142

Browse files
committed
Add exceptions for Squid on Ubuntu Noble
Ceph Squid for Ubuntu Noble is not available at https://download.ceph.com. It is from UCA.
1 parent 220451f commit d3c0142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/cephadm/tasks/pkg_debian.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
- name: Ensure Ceph repositories are defined
3030
apt_repository:
3131
repo: "deb [signed-by={{ cephadm_apt_key_path }}] https://download.ceph.com/debian-{{ item }}/ {{ cephadm_apt_repo_dist }} main"
32-
state: "{{ 'present' if item == cephadm_ceph_release else 'absent' }}"
32+
state: "{{ 'present' if item == cephadm_ceph_release and not (item == 'squid' and cephadm_apt_repo_dist == 'noble') else 'absent' }}"
3333
when: not cephadm_custom_repos | bool
3434
become: true
3535
loop: "{{ cephadm_ceph_releases }}"

0 commit comments

Comments
 (0)