summaryrefslogtreecommitdiff
path: root/inventory/host_vars/sk-2019vm.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-05-24 02:51:01 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-05-25 00:04:27 +0200
commita0bbfef03f7d3267727c665444a22a0e27318504 (patch)
treefc6f5fec2ca63fe75a9602877a001186535939d8 /inventory/host_vars/sk-2019vm.yml
parentadd collabora code to sk-tomwatz-nc (diff)
sk-2019vm migrated to new zfs schema
Diffstat (limited to 'inventory/host_vars/sk-2019vm.yml')
-rw-r--r--inventory/host_vars/sk-2019vm.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/inventory/host_vars/sk-2019vm.yml b/inventory/host_vars/sk-2019vm.yml
index f9bfb0bb..705ff929 100644
--- a/inventory/host_vars/sk-2019vm.yml
+++ b/inventory/host_vars/sk-2019vm.yml
@@ -27,7 +27,6 @@ cryptdisk_volumes:
device: /dev/disk/by-id/nvme-eui.0025388291b201cb-part3
-zfs_use_systemd_mount_generator: no
zfs_arc_size:
min: "{{ 2 * 1024 * 1024 * 1024 }}"
max: "{{ 8 * 1024 * 1024 * 1024 }}"
@@ -37,6 +36,15 @@ zfs_zpools:
mountpoint: /srv/storage
create_vdevs: mirror /dev/mapper/crypto-nvme0 /dev/mapper/crypto-nvme1
+zfs_sanoid_modules:
+ storage/vm:
+ use_template: production
+ recursive: yes
+ process_children_only: yes
+ storage/vm/sk-testvm:
+ use_template: ignore
+ recursive: yes
+
vm_host:
network:
@@ -64,3 +72,7 @@ vm_host:
ele-gwhetzner: 2
ch-mimas: 6
sk-testvm: 7
+ zfs:
+ default:
+ pool: storage
+ name: vm