zfs_dkms/README.md
2025-10-19 11:06:43 -05:00

43 lines
1.4 KiB
Markdown

zfs\_dkms
=========
Ansible Role for installing [ZFS](https://zfsonlinux.org/)
on [Fedora](https://openzfs.github.io/openzfs-docs/Getting%20Started/Fedora/index.html#installation),
[Red Hat](https://openzfs.github.io/openzfs-docs/Getting%20Started/RHEL-based%20distro/index.html)/derivatives,
[Debian](https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/index.html),
or [Ubuntu](https://openzfs.github.io/openzfs-docs/Getting%20Started/Ubuntu/index.html).
For pools/volumes, see:
1. [community.general.zpool](https://docs.ansible.com/ansible/latest/collections/community/general/zpool_module.html)
2. [community.general.zfs](https://docs.ansible.com/ansible/latest/collections/community/general/zfs_module.html)
Requirements
------------
None.
Role Variables
--------------
| Variable | Description | Role Default | Upstream Default |
|----------|:-----------:|--------:|--------:|
| `zfs_dkms_arc_pct_min` | _Minimum_ physical memory (%) for ARC usage | `0` | `0` |
| `zfs_dkms_arc_pct_max` | _Peak_ physical memory (%) for ARC usage | `16` | `0` |
| `zfs_dkms_timeout` | Seconds to wait while rebooting `RHEL`/derivatives<br />_[for kernel update and current headers]_ | `3600` | _N/A_ |
Dependencies
------------
1. `community.general`
Example Playbook
----------------
- hosts: servers
roles:
- { role: zfs_dkms }
License
-------
Apache-2.0