Files
bryanpedini 7390183038 generalized PBS repositories
single file with lsb release parameter now
2025-10-16 15:44:54 +02:00

16 lines
783 B
YAML

---
- name: Ensure the PBS Enterprise repository is disabled
ansible.builtin.copy:
dest: /etc/apt/sources.list.d/pbs-enterprise.list
content: |
#deb https://enterprise.proxmox.com/debian/pbs {{ ansible_facts.lsb.codename }} 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 {{ ansible_facts.lsb.codename }} pbs-no-subscription
- name: Ensure the Proxmox signing GPG key is present
ansible.builtin.get_url:
dest: /etc/apt/trusted.gpg.d/proxmox-release-{{ ansible_facts.lsb.codename }}.gpg
url: https://enterprise.proxmox.com/debian/proxmox-release-{{ ansible_facts.lsb.codename }}.gpg