summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-oulu-vm1.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-07-15 15:27:19 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-07-15 15:27:19 +0200
commitc56b50b6f40565a3cb0b0d6dad3802ca4b8a5e9a (patch)
treec2c06970823a656af9b1bf3aab41972cb3d52827 /inventory/host_vars/ch-oulu-vm1.yml
parentcosmetic change (diff)
fix vm/guest roles ordering
Diffstat (limited to 'inventory/host_vars/ch-oulu-vm1.yml')
-rw-r--r--inventory/host_vars/ch-oulu-vm1.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-oulu-vm1.yml b/inventory/host_vars/ch-oulu-vm1.yml
new file mode 100644
index 00000000..b760cde5
--- /dev/null
+++ b/inventory/host_vars/ch-oulu-vm1.yml
@@ -0,0 +1,32 @@
+---
+install:
+ vm:
+ memory: 16G
+ numcpus: 12
+ autostart: False
+ disks:
+ primary: /dev/sda
+ scsi:
+ sda:
+ type: zfs
+ name: root
+ size: 10g
+ interfaces:
+ - bridge: br-lan
+ name: lan0
+ - bridge: br-svc
+ name: svc0
+
+network:
+ nameservers: "{{ network_zones.lan.dns }}"
+ domain: "{{ host_domain }}"
+ systemd_link:
+ interfaces: "{{ install.interfaces }}"
+ primary: &_network_primary_
+ name: lan0
+ address: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
+ gateway: "{{ network_zones.lan.gateway }}"
+ interfaces:
+ - *_network_primary_
+ - name: svc0
+ address: 1.2.3.4/24