infrastructure/ansible/roles/zfs/files/sanoid.conf

23 lines
603 B
Text
Raw Permalink Normal View History

2020-07-26 18:03:09 +01:00
######################################
# This is a sample sanoid.conf file. #
# It should go in /etc/sanoid. #
######################################
2020-08-20 21:47:12 +01:00
{% for name, config in sanoid_datasets.items() %}
[{{ name }}]
{% for key, value in config.items() %}
{{ key }} = {{ value | lower }}
{% endfor %}
{% endfor %}
2020-07-26 18:03:09 +01:00
#############################
# templates below this line #
#############################
2020-08-20 21:47:12 +01:00
{% for name, config in sanoid_templates.items() %}
[template_{{ name }}]
{% for key, value in config.items() %}
{{ key }} = {{ value | lower }}
{% endfor %}
{% endfor %}