diff options
| -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: |
