summaryrefslogtreecommitdiff
path: root/inventory/host_vars/r3-cccamp19-verr.yml
blob: 511585c0ca0b1572ae3441e03c3ad219b58ed740 (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
33
34
---
vm_host: helene

install:
  host: "{{ vm_host }}"
  mem: 4096
  numcpu: 4
  disks:
    primary: /dev/sda
    scsi:
      sda:
        vg: "{{ hostvars[vm_host].host_name }}"
        lv: "{{ inventory_hostname }}"
        size: 20g
  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 }}"

dyndns:
  server: ch-pan