refactor ♻️: Consolidate and update pkg list
Refactored package installation process by consolidating and updating the `pkg` list to improve efficiency and maintainability.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user