summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-router-obsd.yml
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/host_vars/ch-router-obsd.yml')
-rw-r--r--inventory/host_vars/ch-router-obsd.yml13
1 files changed, 7 insertions, 6 deletions
diff --git a/inventory/host_vars/ch-router-obsd.yml b/inventory/host_vars/ch-router-obsd.yml
index a88110f3..412482de 100644
--- a/inventory/host_vars/ch-router-obsd.yml
+++ b/inventory/host_vars/ch-router-obsd.yml
@@ -1,22 +1,23 @@
---
-vm_host: ch-gnocchi
+_vm_host_: ch-gnocchi
install:
- host: "{{ vm_host }}"
- mem: 512
- numcpu: 1
+ vm:
+ host: "{{ _vm_host_ }}"
+ mem: 512
+ numcpu: 1
+ autostart: True
disks:
primary: /dev/sda
virtio:
vda:
type: lvm
- vg: "{{ hostvars[vm_host].host_name }}"
+ vg: "{{ hostvars[_vm_host_].host_name }}"
lv: "{{ inventory_hostname }}"
size: 10g
interfaces:
- bridge: br-svc
name: vio0
- autostart: True
network:
nameservers: "{{ network_zones.svc.dns }}"