summaryrefslogtreecommitdiff
path: root/inventory/host_vars/r3-cccamp19-flora.yml
blob: 54f6c5dad0ae16fd4c6e7d283adcdb14ecac9daa (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
---
vm_host: helene

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

install_playbook: r3-cccamp19_vm

dyndns:
  server: ch-pan