summaryrefslogtreecommitdiff
path: root/inventory/host_vars/r3-cccamp19-feedcode.yml
blob: 24aefcbe35983621b13ed13791b882b830c70be7 (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
32
---
vm_host: helene

install:
  host: "{{ vm_host }}"
  mem: 6144
  numcpu: 4
  disks:
    primary: /dev/sda
    scsi:
      sda:
        type: lvm
        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 }}"