1
0
IaC/ansible/roles/zfs-install/tasks/main.yml
2022-09-04 01:47:32 +12:00

16 lines
423 B
YAML

---
- name: Install ZFS DKMS module
become: true
ansible.builtin.shell:
cmd: pikaur -S zfs-dkms --noconfirm
executable: /usr/bin/bash
# install linux-lts-headers first
# add a gpg signing key, import and lsign the AUR key below
# https://gist.github.com/woods/8970150
# zfs-dkms AUR key 6AD860EED4598027 / 4F3BA9AB6D1F8D683DC2DFB56AD860EED4598027
set zfs params (ARC)
modprobe zfs
set module to start at boot