refactor ♻️: Refactor stat modules to use ansible.builtin.stat

This refactoring updates the usage of `stat` modules in our Ansible playbooks to utilize the `ansible.builtin.stat` module. This change ensures consistency and potentially improves compatibility with newer versions of Ansible.
This commit is contained in:
2026-02-07 09:27:07 +01:00
parent bb7835c350
commit 7a939ff91a

View File

@@ -1,6 +1,6 @@
---
- name: subscription | Check for legacy proxmoxlib.js
stat:
ansible.builtin.stat:
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
register: proxmoxlib_js
@@ -17,7 +17,7 @@
notify: restart pveproxy
- name: subscription | Check for minified proxmoxlib.min.js (VE 8/9)
stat:
ansible.builtin.stat:
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.min.js
register: proxmoxlib_min_js