From ab27cbe45e0a0053e10036ee281bfb0cb58c1acc Mon Sep 17 00:00:00 2001 From: Andrew Roberts Date: Sat, 4 Jun 2022 13:33:44 -0400 Subject: [PATCH] simplify nag regex to be more resilient to upstream changes --- tasks/remove-nag.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/remove-nag.yml b/tasks/remove-nag.yml index 4c757f0..32ac2c3 100644 --- a/tasks/remove-nag.yml +++ b/tasks/remove-nag.yml @@ -4,7 +4,7 @@ - name: Modify line in file to remove nag message replace: path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js - regexp: 'res === null \|\| res === undefined \|\| !res \|\| res[\s\n]*\.data\.status\.toLowerCase\(\) !== .active.' + regexp: 'res[\s\n]*\.data\.status\.toLowerCase\(\) !== .active.' replace: "false" backup: yes notify: restart pveproxy