17 lines
342 B
YAML
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
|