ANSIBLE.ZFS(3)                  ANSIBLE MODULES                 ANSIBLE.ZFS(3)



NAME
       zfs - Manage zfs

DESCRIPTION
       Manages ZFS file systems on Solaris and FreeBSD. Can manage file
       systems, volumes and snapshots. See zfs(1M) for more information about
       the properties.

OPTIONS
       aclinherit
              The aclinherit property.  Choices:
              discard,noallow,restricted,passthrough,passthrough-x.

       aclmode
              The aclmode property.  Choices: discard,groupmask,passthrough.

       atime  The atime property.  Choices: on,off.

       canmount
              The canmount property.  Choices: on,off,noauto.

       casesensitivity
              The casesensitivity property.  Choices:
              sensitive,insensitive,mixed.

       checksum
              The checksum property.  Choices:
              on,off,fletcher2,fletcher4,sha256.

       compression
              The compression property.  Choices:
              on,off,lzjb,gzip,gzip-1,gzip-2,gzip-3,gzip-4,gzip-5,gzip-6,gzip-7,gzip-8,gzip-9,lz4,zle.

       copies The copies property.  Choices: yes,2,3.

       dedup  The dedup property.  Choices: on,off.

       devices
              The devices property.  Choices: on,off.

       exec   The exec property.  Choices: on,off.

       jailed The jailed property.  Choices: on,off.

       logbias
              The logbias property.  Choices: latency,throughput.

       mountpoint
              The mountpoint property.

       name   File system, snapshot or volume name e.g. rpool/myfs(required)

       nbmand The nbmand property.  Choices: on,off.

       normalization
              The normalization property.  Choices:
              none,formC,formD,formKC,formKD.

       primarycache
              The primarycache property.  Choices: all,none,metadata.

       quota  The quota property.

       readonly
              The readonly property.  Choices: on,off.

       recordsize
              The recordsize property.

       refquota
              The refquota property.

       refreservation
              The refreservation property.

       reservation
              The reservation property.

       secondarycache
              The secondarycache property.  Choices: all,none,metadata.

       setuid The setuid property.  Choices: on,off.

       shareiscsi
              The shareiscsi property.  Choices: on,off.

       sharenfs
              The sharenfs property.

       sharesmb
              The sharesmb property.

       snapdir
              The snapdir property.  Choices: hidden,visible.

       state  Whether to create (present), or remove (absent) a file system,
              snapshot or volume.  Choices: present,absent.(required)

       sync   The sync property.  Choices: on,off.

       utf8only
              The utf8only property.  Choices: on,off.

       volblocksize
              The volblocksize property.

       volsize
              The volsize property.

       vscan  The vscan property.  Choices: on,off.

       xattr  The xattr property.  Choices: on,off.

       zoned  The zoned property.  Choices: on,off..

EXAMPLES
       # Create a new file system called myfs in pool rpool
       - zfs: name=rpool/myfs state=present

       # Create a new volume called myvol in pool rpool.
       - zfs: name=rpool/myvol state=present volsize=10M

       # Create a snapshot of rpool/myfs file system.
       - zfs: name=rpool/myfs@mysnapshot state=present

       # Create a new file system called myfs2 with snapdir enabled
       - zfs: name=rpool/myfs2 state=present snapdir=enabled



AUTHOR
       Johan Wiren

SEE ALSO
       ansible(1), http://ansible.github.com/modules.html#zfs



1.4.5                             2014-02-12                    ANSIBLE.ZFS(3)
