zfs
Collection: community.general
Full Name: parallax.community.general.zfs
Aliases: community.general.zfs, zfs
Synopsis
Manage zfs
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| name | string | yes | Name of the ZFS dataset (e.g. pool/dataset) | |
| state | string | present | State of the ZFS dataset Choices: present, absent | |
| extra_zfs_properties | string | Additional ZFS properties as key=value pairs separated by commas | ||
| origin | string | Snapshot from which to create a clone | ||
| createparent | bool | false | Create all non-existing parent datasets | |
| volsize | string | Size of the ZFS volume | ||
| volblocksize | string | Block size of the ZFS volume |
Example
- name: Example zfs task
zfs:
name: <your_name>