🎨: use ansible.builtin.package with update_cache systematically

This commit is contained in:
VC
2024-11-06 13:34:03 +01:00
parent 7da2514a93
commit b910bf5e3d
38 changed files with 114 additions and 94 deletions

View File

@@ -18,16 +18,17 @@
- wget
- ncdu
state: present
update_cache: true
- name: Install hypervisors specific utilities
ansible.builtin.apt:
ansible.builtin.package:
name: fuse-overlayfs
state: present
update_cache: true
when: "'hypervisors' in group_names"
- name: Install physical servers specific utilities
ansible.builtin.apt:
ansible.builtin.package:
name: lshw
state: present
update_cache: true