feat: add proxmox sources

This commit is contained in:
Simon Cornet 2025-06-02 12:25:30 +02:00
commit 0b20715fbd
2 changed files with 15 additions and 0 deletions

View file

@ -18,6 +18,19 @@
- 'ansible_distribution_major_version <= "23"'
notify: "apt force cache update"
# configure apt sources - proxmox list
- name: "apt - config - configure apt sources - proxmox list"
ansible.builtin.template:
src: "templates/apt/sources.d/proxmox.list.j2"
dest: "/etc/apt/sources.list.d/proxmox.list"
owner: "root"
group: "root"
mode: "0644"
when:
- 'ansible_os_family == "Debian"'
- "inventory_hostname in group['proxmox']"
notify: "apt force cache update"
# configure apt sources
- name: "apt - config - configure apt sources"
ansible.builtin.template:

View file

@ -0,0 +1,2 @@
# proxmox
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription