refactor ♻️: Refactor legacy and minified proxmoxlib.js patching logic to use handlers #2
@@ -15,9 +15,9 @@
|
||||
ansible.builtin.systemd_service:
|
||||
daemon_reexec: true
|
||||
|
||||
- name: Ppatch legacy proxmoxlib.js
|
||||
- name: Patch legacy proxmoxlib.js
|
||||
block:
|
||||
- name: Ppatch legacy proxmoxlib.js
|
||||
- name: Patch legacy proxmoxlib.js
|
||||
|
|
||||
ansible.builtin.replace:
|
||||
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
|
||||
regexp: "if \\(data.status !== 'Active'\\)"
|
||||
|
||||
Reference in New Issue
Block a user
[Lines 18-20] [Score: 3] Consider adding variable names for clarify and easier maintenance. For example:
patch_legacy_proxmoxlib,patch_minified_proxmoxlib_min.