From 410f87bb2c37e4c880677e6ec22edf15d8fde43f Mon Sep 17 00:00:00 2001 From: Jose Date: Sun, 8 Feb 2026 08:04:32 +0100 Subject: [PATCH] =?UTF-8?q?chore=20=F0=9F=93=A6:=20Comment=20out=20enterpr?= =?UTF-8?q?ise=20repo=20lines=20and=20enable=20Proxmox=20no-subscription?= =?UTF-8?q?=20repo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit updates the repository configuration by commenting out enterprise-specific lines and enabling the Proxmox no-subscription repository to simplify setup for users without a subscription. --- tasks/repos.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tasks/repos.yml b/tasks/repos.yml index 37da939..7033daa 100644 --- a/tasks/repos.yml +++ b/tasks/repos.yml @@ -1,11 +1,11 @@ --- -- name: repos | Remove enterprise repo files (all known locations) - ansible.builtin.file: - path: "{{ item }}" - state: absent - loop: - - /etc/apt/sources.list.d/pve-enterprise.list - - /etc/apt/sources.list.d/ceph.list +- name: Comment out Proxmox enterprise repo lines + ansible.builtin.replace: + path: /etc/apt/sources.list.d/pve-enterprise.list + regexp: '^(deb\s+)' + replace: '# \1' + when: ansible.builtin.stat(path='/etc/apt/sources.list.d/pve-enterprise.list').stat.exists + notify: apt update - name: repos | Enable Proxmox no-subscription repo ansible.builtin.copy: