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:
Ludovic Cartier
2026-05-15 11:44:51 +02:00
parent e12a75c79a
commit 1e85eb1cff
2 changed files with 5 additions and 6 deletions
+3 -3
View File
@@ -2,12 +2,12 @@
- name: proxmox backup client | get GPG key
get_url:
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'
become: yes
become: true
- name: proxmox backup client | add repository
become: yes
become: true
apt_repository:
repo: "{{ pbs_repo_no_subscription }}"
filename: pbs-client.list