This refactoring includes updating the README, changing the role name to focus on Proxmox VE, enhancing compatibility matrix, and refactoring default values for role variables. Handlers are updated to manage apt cache, restart pveproxy, and reload systemd. Role metadata is also updated for better Proxmox VE provisioning.
16 lines
462 B
YAML
16 lines
462 B
YAML
---
|
|
- name: Remove enterprise repo files (all known locations)
|
|
file:
|
|
path: "{{ item }}"
|
|
state: absent
|
|
loop:
|
|
- /etc/apt/sources.list.d/pve-enterprise.list
|
|
- /etc/apt/sources.list.d/ceph.list
|
|
|
|
- name: Enable Proxmox no-subscription repo
|
|
copy:
|
|
dest: /etc/apt/sources.list.d/pve-no-subscription.list
|
|
content: |
|
|
deb http://download.proxmox.com/debian/pve {{ ansible_distribution_release }} pve-no-subscription
|
|
notify: apt update
|