summaryrefslogtreecommitdiff
path: root/roles/zfs/sanoid/defaults
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-05-23 04:02:28 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-05-25 00:04:27 +0200
commitd5a8dc1066615935b6de278b31d7007e7a6c4597 (patch)
tree7ceb117e2dcf58c5dad6090eccac341d91a9d2ca /roles/zfs/sanoid/defaults
parentmake use of zfs-mount-generator configureable (diff)
add role zfs sanoid
Diffstat (limited to 'roles/zfs/sanoid/defaults')
-rw-r--r--roles/zfs/sanoid/defaults/main.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/roles/zfs/sanoid/defaults/main.yml b/roles/zfs/sanoid/defaults/main.yml
new file mode 100644
index 00000000..55ebbd9d
--- /dev/null
+++ b/roles/zfs/sanoid/defaults/main.yml
@@ -0,0 +1,26 @@
+---
+zfs_sanoid_modules: {}
+
+zfs_sanoid_templates:
+ production:
+ frequently: 0
+ hourly: 36
+ daily: 7
+ monthly: 0
+ yearly: 0
+ autosnap: yes
+ autoprune: yes
+
+ backup:
+ frequently: 0
+ hourly: 0
+ daily: 60
+ monthly: 6
+ yearly: 0
+ autosnap: no
+ autoprune: yes
+
+ ignore:
+ autoprune: no
+ autosnap: no
+ monitor: no