summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-jump.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-06-11 17:53:55 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-06-12 00:29:17 +0200
commit607bc14c38dcd0b416f4caefdcb41b0a74012a55 (patch)
treec7c7a8a3a3f6add10f44b46ab8c01d5093a5cc6f /inventory/host_vars/ch-jump.yml
parentsk-cloudia: update nextcloud and jitsi-meet (diff)
harmonize vm install config
Diffstat (limited to 'inventory/host_vars/ch-jump.yml')
-rw-r--r--inventory/host_vars/ch-jump.yml13
1 files changed, 7 insertions, 6 deletions
diff --git a/inventory/host_vars/ch-jump.yml b/inventory/host_vars/ch-jump.yml
index eacd13b0..8a7d1376 100644
--- a/inventory/host_vars/ch-jump.yml
+++ b/inventory/host_vars/ch-jump.yml
@@ -1,16 +1,18 @@
---
-vm_host: ch-gnocchi
+_vm_host_: ch-gnocchi
install:
- host: "{{ vm_host }}"
- mem: 1024
- numcpu: 2
+ vm:
+ host: "{{ _vm_host_ }}"
+ mem: 1024
+ numcpu: 2
+ autostart: True
disks:
primary: /dev/sda
scsi:
sda:
type: lvm
- vg: "{{ hostvars[vm_host].host_name }}"
+ vg: "{{ hostvars[_vm_host_].host_name }}"
lv: "{{ inventory_hostname }}"
size: 10g
interfaces:
@@ -18,7 +20,6 @@ install:
name: svc0
- bridge: br-mgmt
name: mgmt0
- autostart: True
network:
nameservers: "{{ network_zones.svc.dns }}"