🎨: use ansible.builtin.package with update_cache systematically
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user