summaryrefslogtreecommitdiff
path: root/roles/storage/zfs/sanoid/templates/sanoid.conf.j2
blob: 82eb27a9aab3bb78de77de3dafbecfb81ab1d93f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
###############################
## modules
###############################
{% for name,options in zfs_sanoid_modules.items() %}

[{{ name }}]
{%   for option,value in options.items() %}
	{{ option }} = {{ value }}
{%   endfor %}
{% endfor %}


###############################
## templates
###############################
{% set templates = zfs_sanoid_templates | combine(zfs_sanoid_templates_extra) %}
{% for name,options in templates.items() %}

[template_{{ name }}]
{%   for option,value in options.items() %}
	{{ option }} = {{ value }}
{%   endfor %}
{% endfor %}