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 | 1e0005d059a5f2d32a1deaf144c77ca0ce8ffde3 (patch) | |
| tree | 3ccc3516d90c522bfd1824a4fda58fd94b21911e /roles | |
| parent | c76729956477f5ad3b603d6d1ea022fbf132999a (diff) | |
Fix access of repos to pve admin user
Diffstat (limited to 'roles')
| -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: |
