Files
ansible_role_proxmox_provision/tasks/subscription.yml

17 lines
515 B
YAML
Raw Normal View History

---
- name: Remove subscription nag (legacy proxmoxlib.js)
replace:
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
regexp: "if \\(data.status !== 'Active'\\)"
replace: "if (false)"
ignore_errors: true
notify: restart pveproxy
- name: Remove subscription nag (minified bundle for VE 8/9)
replace:
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.min.js
regexp: "data.status!=='Active'"
replace: "false"
ignore_errors: true
notify: restart pveproxy