style 💎: Fix indentation and logic in subscription.yml tasks
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 11s
Gitleaks Scan / gitleaks (push) Successful in 5s
Markdown Lint / markdown-lint (push) Successful in 5s

Refactored the indentation and corrected logical errors in the tasks section of subscription.yml to improve readability and functionality.
This commit is contained in:
2026-02-07 18:34:05 +01:00
parent 7907e71a5e
commit 4d73c5a844

View File

@@ -28,7 +28,7 @@
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
regexp: "if \\(data.status !== 'Active'\\)" regexp: "if \\(data.status !== 'Active'\\)"
replace: "if (false)" replace: "if (false)"
when: when:
- proxmoxlib_js.stat.exists - proxmoxlib_js.stat.exists
- proxmoxlib_js_checksum_stored.content is not defined - proxmoxlib_js_checksum_stored.content is not defined
or (proxmoxlib_js.stat.checksum or (proxmoxlib_js.stat.checksum
@@ -72,7 +72,7 @@
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.min.js path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.min.js
regexp: "data.status!=='Active'" regexp: "data.status!=='Active'"
replace: "false" replace: "false"
when: when:
- proxmoxlib_min_js.stat.exists - proxmoxlib_min_js.stat.exists
- proxmoxlib_min_checksum_stored.content is not defined - proxmoxlib_min_checksum_stored.content is not defined
or (proxmoxlib_min_js.stat.checksum or (proxmoxlib_min_js.stat.checksum