feat: add proxmox sources
This commit is contained in:
parent
6397364a6d
commit
0b20715fbd
2 changed files with 15 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue