Replace apt-key by get-url

This commit is contained in:
VC
2024-07-05 11:53:07 +02:00
parent 9fc3efae7f
commit 6ca2f5e8b1

View File

@@ -3,9 +3,9 @@
src: hosts.j2 src: hosts.j2
dest: /etc/hosts dest: /etc/hosts
- name: "Add Proxmox VE 6 GPG key" - name: "Add Proxmox VE 6 GPG key"
apt_key: get_url:
url: http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg url: http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg
state: present dest: /etc/apt/trusted.gpg.d/
- name: "Add Proxmox VE 6 Repo" - name: "Add Proxmox VE 6 Repo"
apt_repository: apt_repository:
repo: "deb http://download.proxmox.com/debian/pve buster pve-no-subscription" repo: "deb http://download.proxmox.com/debian/pve buster pve-no-subscription"