summaryrefslogtreecommitdiff
path: root/inventory/host_vars
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-10-10 21:47:17 +0200
committerChristian Pointner <equinox@spreadspace.org>2019-10-10 21:47:17 +0200
commitd0c37df615274cdbe44d634615e198253407128f (patch)
tree79dd4463c8403c4e109cba9a72dc86aa126fa4c2 /inventory/host_vars
parentdocker: refactor lvm handling (diff)
zfs: refactor zpool config
Diffstat (limited to 'inventory/host_vars')
-rw-r--r--inventory/host_vars/sk-2019.yml7
-rw-r--r--inventory/host_vars/sk-2019vm.yml7
-rw-r--r--inventory/host_vars/sk-cloudia.yml7
3 files changed, 12 insertions, 9 deletions
diff --git a/inventory/host_vars/sk-2019.yml b/inventory/host_vars/sk-2019.yml
index 80491c40..f59bdc64 100644
--- a/inventory/host_vars/sk-2019.yml
+++ b/inventory/host_vars/sk-2019.yml
@@ -25,9 +25,10 @@ cryptdisk_volumes:
device: /dev/disk/by-id/nvme-eui.0025388791050fdc-part3
-zfs_zpool_name: storage
-zfs_zpool_mountpoint: /srv/storage
-zfs_zpool_create_vdevs: mirror /dev/mapper/crypto-nvme0 /dev/mapper/crypto-nvme1
+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 }}"
diff --git a/inventory/host_vars/sk-2019vm.yml b/inventory/host_vars/sk-2019vm.yml
index 0b321061..766be5fc 100644
--- a/inventory/host_vars/sk-2019vm.yml
+++ b/inventory/host_vars/sk-2019vm.yml
@@ -39,9 +39,10 @@ cryptdisk_volumes:
device: /dev/disk/by-id/nvme-eui.0025388291b201cb-part3
-zfs_zpool_name: storage
-zfs_zpool_mountpoint: /srv/storage
-zfs_zpool_create_vdevs: mirror /dev/mapper/crypto-nvme0 /dev/mapper/crypto-nvme1
+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 }}"
diff --git a/inventory/host_vars/sk-cloudia.yml b/inventory/host_vars/sk-cloudia.yml
index 1f4c542b..0869c2c8 100644
--- a/inventory/host_vars/sk-cloudia.yml
+++ b/inventory/host_vars/sk-cloudia.yml
@@ -9,9 +9,10 @@ install:
network: {}
-zfs_zpool_name: storage
-zfs_zpool_mountpoint: /srv/storage
-zfs_zpool_create_vdevs: mirror nvme0n1p3 nvme1n1p3
+zfs_zpools:
+ storage:
+ mountpoint: /srv/storage
+ create_vdevs: mirror nvme0n1p3 nvme1n1p3
zfs_arc_size:
min: "{{ 2 * 1024 * 1024 * 1024 }}"