title: how do i create a zfs filesystem/zpool using ansible using zfs-linux
body: <p>I want the equivalent of the following to be generated using the zfs module in ansible, the following works using the command line, but fails on second run as the filesystem already exists.</p>
  
  <p>{{ part_postgres }} is set to /dev/sdb in this instance.</p>
  
  <p>zpool create -O compression=gzip postgres {{ part_postgres }}  -O secondarycache=all</p>
  
  <p>Currently in ansible I have:</p>
  
  <pre><code>- name: Create postgres zpool
      zfs: name=postgres{{ part_postgres }}
           compression=gzip
           state=present
           secondarycache=all
           mountpoint=/postgres
           atime=off
  </code></pre>