zfs

Collection: community.general

Full Name: parallax.community.general.zfs

Aliases: community.general.zfs, zfs

Synopsis

Manage zfs

Parameters

NameTypeRequiredDefaultDescription
namestringyesName of the ZFS dataset (e.g. pool/dataset)
statestringpresentState of the ZFS dataset Choices: present, absent
extra_zfs_propertiesstringAdditional ZFS properties as key=value pairs separated by commas
originstringSnapshot from which to create a clone
createparentboolfalseCreate all non-existing parent datasets
volsizestringSize of the ZFS volume
volblocksizestringBlock size of the ZFS volume

Example

- name: Example zfs task
  zfs:
    name: <your_name>