homeserver/roles/mgrote.zfs_manage_datasets
mg c8a79e890c zfs_datasets: Unterstützt jetzt alle Parameter (#284)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#284
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2021-12-16 19:49:33 +01:00
..
meta
tasks zfs_datasets: Unterstützt jetzt alle Parameter (#284) 2021-12-16 19:49:33 +01:00
LICENSE Alle Rollen: LICENSE + Syntax in README (#240) 2021-11-07 12:37:48 +01:00
README.md zfs_datasets: Unterstützt jetzt alle Parameter (#284) 2021-12-16 19:49:33 +01: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