Skip to content

Commit a586263

Browse files
authored
Merge pull request #303 from gilou/gilou/ceph-bookworm
set ceph versions and component for proxmox repositories depending on debian releases
2 parents 73955ef + d1ffb62 commit a586263

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pve_zfs_enabled: no
2828
# pve_zfs_zed_email: "email address for zfs events"
2929
pve_zfs_create_volumes: []
3030
pve_ceph_enabled: false
31-
pve_ceph_repository_line: "deb http://download.proxmox.com/debian/{% if ansible_distribution_release == 'buster' %}ceph-nautilus buster{% else %}ceph-quincy bullseye{% endif %} main"
31+
pve_ceph_repository_line: "deb http://download.proxmox.com/debian/ceph-{{ pve_ceph_default_version }} {{ ansible_distribution_release }} {{ pve_ceph_debian_component }}"
3232
pve_ceph_network: "{{ (ansible_default_ipv4.network +'/'+ ansible_default_ipv4.netmask) | ansible.utils.ipaddr('net') }}"
3333
pve_ceph_nodes: "{{ pve_group }}"
3434
pve_ceph_mon_group: "{{ pve_group }}"

vars/debian-bookworm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
---
22
pve_ssh_ciphers: "aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],[email protected]"
3+
pve_ceph_default_version: reef
4+
pve_ceph_debian_component: no-subscription

vars/debian-bullseye.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
pve_release_key: proxmox-ve-release-7.x.asc
33
pve_release_key_id: DD4BA3917E23BF59
44
pve_ssh_ciphers: "aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],[email protected]"
5+
pve_ceph_default_version: quincy
6+
pve_ceph_debian_component: main

vars/debian-buster.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
pve_release_key: proxmox-ve-release-6.x.asc
33
pve_release_key_id: 7BF2812E8A6E88E0
44
pve_ssh_ciphers: "aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],[email protected]"
5+
pve_ceph_default_version: nautilus
6+
pve_ceph_debian_component: main

0 commit comments

Comments
 (0)