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

16 lines
688 B
YAML

---
- name: Ensure the PBS Enterprise respository is disabled
ansible.builtin.copy:
dest: /etc/apt/sources.list.d/pbs-enterprise.list
content: |
#deb https://enterprise.proxmox.com/debian/pbs bullseye pbs-enterprise
- name: Ensure the correct Proxmox repositories are in place
ansible.builtin.copy:
dest: /etc/apt/sources.list.d/pbs-no-subscription.list
content: |
deb http://download.proxmox.com/debian/pbs bullseye pbs-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