20 lines
621 B
YAML
20 lines
621 B
YAML
|
---
|
||
|
|
||
|
- name: Remove entreprise proxmox repository
|
||
|
apt_repository:
|
||
|
repo: "deb https://enterprise.proxmox.com/debian/pve {{ ansible_facts['lsb']['codename'] }} pve-enterprise"
|
||
|
state: absent
|
||
|
- name: Add non subscription proxmox repository
|
||
|
apt_repository:
|
||
|
repo: "deb [arch=amd64] http://download.proxmox.com/debian/pve {{ ansible_facts['lsb']['codename'] }} pve-no-subscription"
|
||
|
filename: pve-no-subscription
|
||
|
state: present
|
||
|
|
||
|
- name: Remove No Subscription Message
|
||
|
replace:
|
||
|
path: /usr/share/perl5/PVE/API2/Subscription.pm
|
||
|
regexp: 'NotFound'
|
||
|
replace: 'Active'
|
||
|
notify: Restart pveproxy
|
||
|
|