summaryrefslogtreecommitdiff
path: root/inventory/host_vars/r3-cccamp19-verr.yml
blob: f4e70d5756339160e497149f0b3394f071ff89cf (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
35
36
37
38
---
_vm_host_: helene

install:
  vm:
    host: "{{ _vm_host_ }}"
    mem: 4096
    numcpu: 4
    autostart: True
  disks:
    primary: /dev/sda
    scsi:
      sda:
        type: lvm
        vg: "{{ hostvars[_vm_host_].host_name }}"
        lv: "{{ inventory_hostname }}"
        size: 20g
  interfaces:
  - bridge: lan-br
    name: lan0
  - bridge: camp19-br
    name: camp0

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.gateway }}"

install_playbook: r3-cccamp19_vm

dyndns:
  server: ch-pan