summaryrefslogtreecommitdiff
path: root/inventory
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 /inventory
parentmake use of zfs-mount-generator configureable (diff)
add role zfs sanoid
Diffstat (limited to 'inventory')
-rw-r--r--inventory/host_vars/sk-tomnext.yml17
1 files changed, 14 insertions, 3 deletions
diff --git a/inventory/host_vars/sk-tomnext.yml b/inventory/host_vars/sk-tomnext.yml
index 840de6f6..d570f1b2 100644
--- a/inventory/host_vars/sk-tomnext.yml
+++ b/inventory/host_vars/sk-tomnext.yml
@@ -46,11 +46,22 @@ cryptdisk_volumes:
device: /dev/disk/by-id/nvme-eui.00000000000000018ce38e0500157b3d-part3
+zfs_arc_size:
+ min: "{{ 2 * 1024 * 1024 * 1024 }}"
+ max: "{{ 8 * 1024 * 1024 * 1024 }}"
+
zfs_zpools:
storage:
mountpoint: /srv/storage
create_vdevs: mirror /dev/mapper/crypto-nvme0 /dev/mapper/crypto-nvme1
-zfs_arc_size:
- min: "{{ 2 * 1024 * 1024 * 1024 }}"
- max: "{{ 8 * 1024 * 1024 * 1024 }}"
+
+zfs_sanoid_modules:
+ storage/docker:
+ use_template: ignore
+ storage/kubelet:
+ use_template: ignore
+ storage/vm:
+ use_template: production
+ recursive: yes
+ process_children_only: yes