Skip to content

Commit a6911df

Browse files
committed
feature: add debian 12 bookworm and proxmox 8 compatibility
1 parent 85abc3d commit a6911df

File tree

4 files changed

+12
-1
lines changed

4 files changed

+12
-1
lines changed

files/proxmox-release-bookworm.gpg

1.16 KB
Binary file not shown.

meta/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ galaxy_info:
1313
versions:
1414
- buster
1515
- bullseye
16+
- bookworm
1617

1718
galaxy_tags:
1819
- proxmox

tasks/main.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,19 @@
104104
name: gpg
105105
state: present
106106

107-
- name: Trust Proxmox' packaging key
107+
- name: Trust Proxmox' packaging key on Debian < 12
108108
apt_key:
109109
data: "{{ lookup('file', pve_release_key) }}"
110110
id: "{{ pve_release_key_id }}"
111111
state: present
112+
when: "ansible_distribution_major_version | int < 12"
113+
114+
- name: Trust Proxmox' packaging key on Debian 12
115+
copy:
116+
src: "proxmox-release-{{ ansible_distribution_release }}.gpg"
117+
dest: "/etc/apt/trusted.gpg.d/proxmox-release-{{ ansible_distribution_release }}.gpg"
118+
mode: 0644
119+
when: "ansible_distribution_major_version | int == 12"
112120

113121
- name: Remove os-prober package
114122
apt:

vars/debian-bookworm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
pve_ssh_ciphers: "aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],[email protected]"

0 commit comments

Comments
 (0)