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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user