diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-05-26 23:50:38 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-05-26 23:50:38 +0200 |
commit | acc437083cfa7b8f77b8e79af2a0c05bd871e198 (patch) | |
tree | 576360023addac147bef43f1ba340c61e3c9fe5b /roles/zfs/sanoid/templates | |
parent | remove nextcloud test instance (diff) | |
parent | cleanup old configs and playbooks (diff) |
Merge branch 'topic/zfs-buster-backports'
Diffstat (limited to 'roles/zfs/sanoid/templates')
-rw-r--r-- | roles/zfs/sanoid/templates/sanoid.conf.j2 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/roles/zfs/sanoid/templates/sanoid.conf.j2 b/roles/zfs/sanoid/templates/sanoid.conf.j2 new file mode 100644 index 00000000..2f2b29b4 --- /dev/null +++ b/roles/zfs/sanoid/templates/sanoid.conf.j2 @@ -0,0 +1,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 %} |