Skip to content

Ansible role for installing zfs on Centos, Redhat, Almalinux, Rocky Linux etc.

License

Notifications You must be signed in to change notification settings

mmoole/ansible-role-zfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Ansible role for installing zfs package on linux - currently centos/RedHat only, using DKMS style.

Requirements

  • ...

Role Variables

Variables with examples:

# set zfs system parameters:
zfs_sysparameters_list:
  - name: zfs_arc_max
    value: "{{ (ansible_memtotal_mb * 1024**2 * 0.25) | int }}"

# remove parameters from file /etc/modprobe.d/zfs.conf
zfs_sysparameters_list_remove:
  # - zfs_vdev_raidz_impl

# set to enable / disable timer to scrub all pools
zfs_scrub_enable: yes
zfs_scrub_schedule: monthly

# set to enable / disable timer to trim all pools
zfs_trim_enable: yes
zfs_trim_schedule: weekly

Example Usage

roles:
  - ansible_role_zfs

Acknowledgements

  • thanks to zfsonlinux
  • and various other folks on github

See also

...

License

MIT

About

Ansible role for installing zfs on Centos, Redhat, Almalinux, Rocky Linux etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published