ansible/tasks/debian-to-pve/repositories.yml

16 lines
687 B
YAML

---
- name: Ensure the PVE Enterprise repository is disabled
ansible.builtin.copy:
dest: /etc/apt/sources.list.d/pve-enterprise.list
content: |
#deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
- name: Ensure the correct Proxmox repositories are in place
ansible.builtin.copy:
dest: /etc/apt/sources.list.d/pve-no-subscription.list
content: |
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
- name: Ensure the Proxmox signing GPG key is present
ansible.builtin.get_url:
dest: /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
url: https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg