Files
ansible_role_proxmox_provision/tasks/repos.yml
Jose d72e207a29 chore 📦: Update Proxmox repo configuration with file permissions and ownership
This commit updates the Proxmox repository configuration to include specific file permissions and ownership settings. This ensures that the repository is properly secured and accessible by authorized users.

✔ Explicit ownership
✔ Explicit permissions
✔ Idempotent
2026-02-07 09:19:12 +01:00

19 lines
559 B
YAML

---
- 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: repos | Enable Proxmox no-subscription repo
ansible.builtin.copy:
dest: /etc/apt/sources.list.d/pve-no-subscription.list
owner: root
group: root
mode: "0644"
content: |
deb http://download.proxmox.com/debian/pve {{ ansible_distribution_release }} pve-no-subscription
notify: apt update