---

- name: Enable PBS apt-key
  apt_key:
    url: "https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg"

- name: Enable PBS repository
  apt_repository:
    repo: "deb http://download.proxmox.com/debian/pbs bullseye pbs-no-subscription"
    filename: pbs

- name: Install PBS
  apt:
    name: proxmox-backup-server