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

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


###############################
## templates
###############################
{% for name,options in zfs_sanoid_templates.items() %}

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