summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-testvm-prometheus.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-01-20 23:21:05 +0100
committerChristian Pointner <equinox@spreadspace.org>2024-01-20 23:21:05 +0100
commitca4cff82e9c611582f1f3a1675dc53fec2176d0b (patch)
tree77445edf5d9579c55a1dc7897e1429e2f0a1f3fb /inventory/host_vars/ch-testvm-prometheus.yml
parentadd storage_device roles (diff)
fix storage/zfs/base role
Diffstat (limited to 'inventory/host_vars/ch-testvm-prometheus.yml')
-rw-r--r--inventory/host_vars/ch-testvm-prometheus.yml15
1 files changed, 8 insertions, 7 deletions
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: