From d026ef8d1bed1237d5c593a08f2adb3bf5c1a0cf Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 16 Dec 2025 18:35:57 +0100 Subject: [PATCH] =?UTF-8?q?refactor=20=E2=99=BB=EF=B8=8F:=20Consolidate=20?= =?UTF-8?q?and=20update=20pkg=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refactored package installation process by consolidating and updating the `pkg` list to improve efficiency and maintainability. --- tasks/proxmox.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/tasks/proxmox.yml b/tasks/proxmox.yml index 0bc6830..d273490 100644 --- a/tasks/proxmox.yml +++ b/tasks/proxmox.yml @@ -7,20 +7,13 @@ - name: Ensure git is installed ansible.builtin.apt: - name: git + pkg: + - git + - python3-proxmoxer + - lm-sensors state: present update_cache: yes - - - name: Install proxmoxer from APT - ansible.builtin.apt: - name: python3-proxmoxer - state: present - update_cache: yes - - - name: Install lm-sensors from APT - ansible.builtin.apt: - name: lm-sensors - state: present + cache_valid_time: 3600 - name: Clone PVE-mods repository ansible.builtin.git: