summaryrefslogtreecommitdiff
path: root/inventory/host_vars
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-07-05 17:59:18 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-07-05 17:59:18 +0200
commita6c7eaa4a7142a3127f42eca525509024e980812 (patch)
tree8b4777019f5604db8743a914c61aa3c8003024f4 /inventory/host_vars
parentprepare ele-mon (diff)
fix config and setup of ele-mon
Diffstat (limited to 'inventory/host_vars')
-rw-r--r--inventory/host_vars/ele-mon.yml10
1 files changed, 2 insertions, 8 deletions
diff --git a/inventory/host_vars/ele-mon.yml b/inventory/host_vars/ele-mon.yml
index 78aaad29..66e87343 100644
--- a/inventory/host_vars/ele-mon.yml
+++ b/inventory/host_vars/ele-mon.yml
@@ -9,7 +9,7 @@ install:
scsi:
sda:
type: lvm
- vg: "{{ vm_host }}"
+ vg: "{{ hostvars[vm_host.name].host_name }}"
lv: "vm_{{ inventory_hostname }}_root"
size: 50g
interfaces:
@@ -38,18 +38,12 @@ ssh_users_root:
- datacop
-lvm_groups:
- mondata:
- pvs:
- - /dev/sdb
-
-
spreadspace_apt_repo_components:
- prometheus
prometheus_server_storage:
type: lvm
- vg: mondata
+ vg: "{{ host_name }}"
lv: prometheus
size: 30G
fs: ext4