From ca4cff82e9c611582f1f3a1675dc53fec2176d0b Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 20 Jan 2024 23:21:05 +0100 Subject: fix storage/zfs/base role --- inventory/host_vars/ch-testvm-prometheus.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'inventory') diff --git a/inventory/host_vars/ch-testvm-prometheus.yml b/inventory/host_vars/ch-testvm-prometheus.yml index c88b8481..dbd6c41a 100644 --- a/inventory/host_vars/ch-testvm-prometheus.yml +++ b/inventory/host_vars/ch-testvm-prometheus.yml @@ -15,12 +15,6 @@ install: size: 10g properties: 'syncoid:sync': 'false' - sdb: - type: zfs - name: data - size: 10g - properties: - 'syncoid:sync': 'false' interfaces: - bridge: br-svc name: svc0 @@ -51,10 +45,17 @@ apt_repo_components: - main - contrib ## for zfs + +lvm_devices: + system/storage: + vg: "{{ host_name }}" + lv: storage + size: 5G + zfs_pools: storage: mountpoint: /srv/storage - create_vdevs: /dev/sdb + create_vdevs: "/dev/{{ host_name }}/storage" zfs_volumes: storage: -- cgit v1.2.3