diff options
| author | Ahmed AbdelHalim <[email protected]> | 2026-05-07 11:30:01 +0200 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2026-05-07 11:30:01 +0200 |
| commit | 3e0911ab681148a38a25e4328c9ec8ad7c10dfec (patch) | |
| tree | 3ccc3516d90c522bfd1824a4fda58fd94b21911e | |
| parent | d6be9da559ffde008ac9319eaba7caf9a780a2d4 (diff) | |
Fix access of repos to pve admin user
| -rw-r--r-- | roles/proxmox-ve/tasks/main.yml | 7 |
1 files changed, 7 insertions, 0 deletions
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: |
