Homelab/host_init/1-zfs.yml

17 lines
342 B
YAML

- name: Install ZFS on Alpine Linux
hosts: all
tasks:
- name: Install ZFS packages
community.general.apk:
name: "{{ item }}"
state: present
with_items:
- zfs
- name: Load ZFS kernel module
community.general.modprobe:
name: zfs
state: present
persistent: present