From 1e0005d059a5f2d32a1deaf144c77ca0ce8ffde3 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 7 May 2026 11:30:01 +0200 Subject: Fix access of repos to pve admin user --- roles/proxmox-ve/tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/proxmox-ve/tasks/main.yml b/roles/proxmox-ve/tasks/main.yml index 0e69da45..1124df82 100644 --- a/roles/proxmox-ve/tasks/main.yml +++ b/roles/proxmox-ve/tasks/main.yml @@ -18,6 +18,7 @@ repo: "deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription" state: "present" filename: "pve-no-subscription" + mode: "0644" - name: "Remove Proxmox enterprise repo" become: true @@ -25,6 +26,12 @@ path: "/etc/apt/sources.list.d/pve-enterprise.list" state: "absent" + - name: "Ensure sources.list is world-readable" + become: true + ansible.builtin.file: + path: "/etc/apt/sources.list" + mode: "0644" + - name: "Set management IP in /etc/hosts for PVE cert generation" become: true ansible.builtin.lineinfile: -- cgit v1.2.3