homeserver/roles/mgrote_zfs_manage_datasets
..
tasks
README.md

mgrote.zfs_manage_datasets

Description

Creates Datasets, can set options. This role does not create the pools. Attributes get set local per dataset.

tested on

  • ProxMox 6.1
  • ProxMox 7*

Variablen + Defaults

  • see default-filter
  • all Variables from man 8 zfs are optional but not the name(dataset)

Example

  zfs_datasets:
    - dataset: rpool/vm
      state: present
      compression: zstd
    - dataset: tank/vm/dir/fileserver2_test
      state: present
      atime: on
      snapdir: hidden