2026-02-07 08:29:45 +01:00
|
|
|
---
|
2026-02-07 08:45:57 +01:00
|
|
|
- name: repos | Remove enterprise repo files (all known locations)
|
|
|
|
|
ansible.builtin.file:
|
2026-02-07 08:29:45 +01:00
|
|
|
path: "{{ item }}"
|
|
|
|
|
state: absent
|
|
|
|
|
loop:
|
|
|
|
|
- /etc/apt/sources.list.d/pve-enterprise.list
|
|
|
|
|
- /etc/apt/sources.list.d/ceph.list
|
|
|
|
|
|
2026-02-07 08:45:57 +01:00
|
|
|
- name: repos | Enable Proxmox no-subscription repo
|
|
|
|
|
ansible.builtin.copy:
|
2026-02-07 08:29:45 +01:00
|
|
|
dest: /etc/apt/sources.list.d/pve-no-subscription.list
|
2026-02-07 09:19:12 +01:00
|
|
|
owner: root
|
|
|
|
|
group: root
|
|
|
|
|
mode: "0644"
|
2026-02-07 08:29:45 +01:00
|
|
|
content: |
|
|
|
|
|
deb http://download.proxmox.com/debian/pve {{ ansible_distribution_release }} pve-no-subscription
|
|
|
|
|
notify: apt update
|