-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pve: Enterprise url for repo doesn't match PVE 7 #98
Comments
Thanks for the bug report! I'm pretty busy right now due to other obligations, so it might be a while before I get around to it. That said, I've been looking into testing the roles in this collection more thoroughly for some time now. Once I get around to that, I'll make sure to include a fix for this issue too! |
I added:
which removed But then it also seemed to complain about: |
Here's what I do for PVE 8.2 - name: Set the "no-subscription" repositories
ansible.builtin.apt_repository:
filename: "{{ item.filename }}"
repo: "deb http://download.proxmox.com/debian/{{ item.repo }} bookworm {{ item.package }}"
state: present
update_cache: false
loop:
- {filename: pve-no-subscription, repo: pve, package: pve-no-subscription}
- {filename: ceph, repo: ceph-quincy, package: no-subscription}
- name: Remove the "pve-enterprise" repository
ansible.builtin.apt_repository:
filename: "{{ item.filename }}"
repo: "deb https://enterprise.proxmox.com/debian/{{ item.repo }} bookworm {{ item.package }}"
state: absent
update_cache: false
loop:
- {filename: pve-enterprise, repo: pve, package: pve-enterprise}
- {filename: ceph, repo: ceph-quincy, package: enterprise}
- name: Update APT cache
ansible.builtin.apt:
update_cache: yes |
On a fresh install of Proxmox VE 7.2-3 running
maxhoesel.proxmox.pve
5.0.1 with all defaults, I get an unexpected result with how the repository urls gets handled.It correctly adds
pve-no-subscription
, but fails to remove / disablepve-enterprise
, as the url ishttps://enterprise.proxmox.com/debian/pve
.This causes it to fail updating the APT cache as it's unauthorised for the enterprise repo.
The text was updated successfully, but these errors were encountered: