Role: zfs_sanoid: entferne doppeltes if (#406)

Reviewed-on: mg/ansible#406
This commit is contained in:
Michael Grote 2022-08-12 13:23:00 +02:00
parent 1c7879b186
commit 0697728cbb

View file

@ -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 %}