From 0697728cbbdc7294d983a395997fa6f34a87559c Mon Sep 17 00:00:00 2001 From: mg Date: Fri, 12 Aug 2022 13:23:00 +0200 Subject: [PATCH] Role: zfs_sanoid: entferne doppeltes if (#406) Reviewed-on: https://git.mgrote.net/mg/ansible/pulls/406 --- roles/mgrote.zfs_sanoid/templates/sanoid.conf.j2 | 2 -- 1 file changed, 2 deletions(-) diff --git a/roles/mgrote.zfs_sanoid/templates/sanoid.conf.j2 b/roles/mgrote.zfs_sanoid/templates/sanoid.conf.j2 index cd4f0c29..9796d030 100644 --- a/roles/mgrote.zfs_sanoid/templates/sanoid.conf.j2 +++ b/roles/mgrote.zfs_sanoid/templates/sanoid.conf.j2 @@ -1,12 +1,10 @@ {{ file_header | default () }} ## ZFS Section -------------------------------- ## {% for item in sanoid_datasets if item.snapshots is sameas true %} -{% if item.snapshots is sameas true %} [{{ item.path }}] use_template = {{ item.template }} recursive = {{ item.recursive }} ## -------------------------------------------- ## -{% endif %} {% endfor %}