🎨: 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

@@ -17,13 +17,12 @@
mode: "0o640"
- name: Install ZFS
ansible.builtin.apt:
name: "{{ item }}"
ansible.builtin.package:
name:
- dpkg-dev
- linux-headers-generic
- linux-image-generic
- zfs-dkms
- zfsutils-linux
state: present
update_cache: true
loop:
- dpkg-dev
- linux-headers-generic
- linux-image-generic
- zfs-dkms
- zfsutils-linux