mg
1fc7975323
Aufräumen In GroupVars eingebaut Templates als Vars Doku aktualisiert Typo neues Dictionary-Format Vars: zfs_pool --> zfs_pools Co-authored-by: Michael Grote <38253905+quotengrote@users.noreply.github.com> Reviewed-on: mg/ansible#19 Co-Authored-By: mg <michael.grote@posteo.de> Co-Committed-By: mg <michael.grote@posteo.de>
26 lines
861 B
Django/Jinja
26 lines
861 B
Django/Jinja
## ZFS Section -------------------------------- ##
|
|
{% for item in sanoid_datasets %}
|
|
[{{ item.path }}]
|
|
use_template = {{ item.template }}
|
|
recursive = {{ item.recursive }}
|
|
## -------------------------------------------- ##
|
|
{% endfor %}
|
|
|
|
|
|
|
|
## Template Section --------------------------- ##
|
|
{% for item in sanoid_templates %}
|
|
[template_{{ item.name }}]
|
|
## Keep-Rules
|
|
hourly = {{ item.keep_hourly }}
|
|
daily = {{ item.keep_daily }}
|
|
monthly = {{ item.keep_monthly }}
|
|
yearly = {{ item.keep_yearly }}
|
|
frequently = {{ item.frequently }}
|
|
## Interval
|
|
frequent_period = {{ item.frequent_period }}
|
|
## Other Options
|
|
autosnap = {{ item.autosnap }}
|
|
autoprune = {{ item.autoprune }}
|
|
## -------------------------------------------- ##
|
|
{% endfor %}
|