2022-04-15 15:51:58 +02:00
|
|
|
---
|
|
|
|
# credit: https://johnscs.com/remove-proxmox51-subscription-notice/ & https://github.com/foundObjects/pve-nag-buster
|
|
|
|
- name: Modify line in file to remove nag message
|
2022-10-19 00:16:16 +02:00
|
|
|
become: "{{ do_become }}"
|
2022-04-15 15:51:58 +02:00
|
|
|
replace:
|
|
|
|
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
|
|
|
|
regexp: 'res === null \|\| res === undefined \|\| !res \|\| res[\s\n]*\.data\.status\.toLowerCase\(\) !== .active.'
|
|
|
|
replace: "false"
|
|
|
|
backup: yes
|
|
|
|
notify: restart pveproxy
|