homeserver/roles/mgrote_zfs_manage_datasets
Michael Grote 7a24089031 fix linter errors (#584)
Reviewed-on: #584
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-10-25 22:26:17 +02:00
..
tasks fix linter errors (#584) 2023-10-25 22:26:17 +02:00
README.md fix linter errors (#584) 2023-10-25 22:26:17 +02:00

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