From 7a939ff91ac05e108a1687b3bb7969d33d5ce82b Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 7 Feb 2026 09:27:07 +0100 Subject: [PATCH] =?UTF-8?q?refactor=20=E2=99=BB=EF=B8=8F:=20Refactor=20`st?= =?UTF-8?q?at`=20modules=20to=20use=20`ansible.builtin.stat`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- tasks/subscription.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/subscription.yml b/tasks/subscription.yml index b098b89..009bed0 100644 --- a/tasks/subscription.yml +++ b/tasks/subscription.yml @@ -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