You've already forked proxmox-backup
fix: update repository key and no_subscription format to use ansible_distribution_release
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
+2
-3
@@ -1,4 +1,3 @@
|
|||||||
---
|
---
|
||||||
pbs_debian_release_name: "trixie"
|
pbs_repo_key: "https://enterprise.proxmox.com/debian/proxmox-release-{{ ansible_distribution_release }}.gpg"
|
||||||
pbs_repo_key: "https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg"
|
pbs_repo_no_subscription: "deb [signed-by=/etc/apt/trusted.gpg.d/proxmox-release-{{ ansible_distribution_release }}.gpg] http://download.proxmox.com/debian/pbs-client {{ ansible_distribution_release }} main"
|
||||||
pbs_repo_no_subscription: "deb [signed-by=/usr/share/keyrings/proxmox-archive-keyring.gpg] http://download.proxmox.com/debian/pbs-client {{ pbs_debian_release_name }} main"
|
|
||||||
|
|||||||
+3
-3
@@ -2,12 +2,12 @@
|
|||||||
- name: proxmox backup client | get GPG key
|
- name: proxmox backup client | get GPG key
|
||||||
get_url:
|
get_url:
|
||||||
url: "{{ pbs_repo_key }}"
|
url: "{{ pbs_repo_key }}"
|
||||||
dest: /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
|
dest: "/etc/apt/trusted.gpg.d/proxmox-release-{{ ansible_distribution_release }}.gpg"
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
become: yes
|
become: true
|
||||||
|
|
||||||
- name: proxmox backup client | add repository
|
- name: proxmox backup client | add repository
|
||||||
become: yes
|
become: true
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "{{ pbs_repo_no_subscription }}"
|
repo: "{{ pbs_repo_no_subscription }}"
|
||||||
filename: pbs-client.list
|
filename: pbs-client.list
|
||||||
|
|||||||
Reference in New Issue
Block a user