--- - name: Add PBS repo key get_url: url: https://enterprise.proxmox.com/debian/proxmox-{{ ansible_distribution_major_version is version('11', '>=') | ternary('release-' ~ ansible_distribution_release, 've-release-6.x.gpg') }}.gpg dest: /etc/apt/trusted.gpg.d/proxmox.gpg environment: https_proxy: "{{ system_proxy | default('') }}" tags: repo - name: Add PBS repo apt_repository: repo: deb http://download.proxmox.com/debian/pbs {{ ansible_distribution_release }} pbs-no-subscription filename: pbs tags: repo