This commit refactors task names across multiple files to improve clarity and maintain consistency, ensuring that each task name accurately reflects its purpose and using the latest `ansible.builtin` modules where applicable.
17 lines
577 B
YAML
17 lines
577 B
YAML
---
|
|
- name: subscription | Remove subscription nag (legacy proxmoxlib.js)
|
|
ansible.builtin.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: subscription | Remove subscription nag (minified bundle for VE 8/9)
|
|
ansible.builtin.replace:
|
|
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.min.js
|
|
regexp: "data.status!=='Active'"
|
|
replace: "false"
|
|
ignore_errors: true
|
|
notify: restart pveproxy
|