blob: cbe638766f232cfdb657754d36b46938598509f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
---
vm_host: helene
install:
host: "{{ vm_host }}"
mem: 6144
numcpu: 4
disks:
primary: /dev/sda
scsi:
sda:
vg: "{{ hostvars[vm_host].host_name }}"
lv: "{{ inventory_hostname }}"
size: 42g
interfaces:
- bridge: lan-br
name: lan0
- bridge: camp19-br
name: camp0
autostart: True
network:
nameservers: "{{ network_zones.lan.dns }}"
domain: "{{ host_domain }}"
systemd_link:
interfaces: "{{ install.interfaces }}"
primary:
interface: lan0
ip: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address') }}"
mask: "{{ network_zones.lan.prefix | ipaddr('netmask') }}"
gateway: "{{ network_zones.lan.gw }}"
|