2026-02-07 08:29:45 +01:00
|
|
|
---
|
2026-02-07 08:45:57 +01:00
|
|
|
- name: subscription | Remove subscription nag (legacy proxmoxlib.js)
|
|
|
|
|
ansible.builtin.replace:
|
2026-02-07 08:29:45 +01:00
|
|
|
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
|
|
|
|
|
regexp: "if \\(data.status !== 'Active'\\)"
|
|
|
|
|
replace: "if (false)"
|
|
|
|
|
ignore_errors: true
|
|
|
|
|
notify: restart pveproxy
|
|
|
|
|
|
2026-02-07 08:45:57 +01:00
|
|
|
- name: subscription | Remove subscription nag (minified bundle for VE 8/9)
|
|
|
|
|
ansible.builtin.replace:
|
2026-02-07 08:29:45 +01:00
|
|
|
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.min.js
|
|
|
|
|
regexp: "data.status!=='Active'"
|
|
|
|
|
replace: "false"
|
|
|
|
|
ignore_errors: true
|
|
|
|
|
notify: restart pveproxy
|