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
|
- name: Ensure git is installed
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: git
|
pkg:
|
||||||
|
- git
|
||||||
|
- python3-proxmoxer
|
||||||
|
- lm-sensors
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
cache_valid_time: 3600
|
||||||
- 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
|
|
||||||
|
|
||||||
- name: Clone PVE-mods repository
|
- name: Clone PVE-mods repository
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
|
|||||||
Reference in New Issue
Block a user