From 164e1f3baa0d67685ef39e3451fef1fc64c25b1f Mon Sep 17 00:00:00 2001 From: Matt Carroll Date: Sun, 25 Oct 2015 01:06:58 +0100 Subject: [PATCH] Fix ZFS create This was failing due to the createparent variable being referenced but never actually loaded from properties --- lib/ansible/modules/extras/system/zfs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/extras/system/zfs.py b/lib/ansible/modules/extras/system/zfs.py index 51b9db63692..343f6ea3202 100644 --- a/lib/ansible/modules/extras/system/zfs.py +++ b/lib/ansible/modules/extras/system/zfs.py @@ -265,6 +265,7 @@ class Zfs(object): volsize = properties.pop('volsize', None) volblocksize = properties.pop('volblocksize', None) origin = properties.pop('origin', None) + createparent = properties.pop('createparent', None) if "@" in self.name: action = 'snapshot' elif origin: