summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-jump.yml
blob: eacd13b0a05dc00acbb54a0dada86235563f0596 (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: ch-gnocchi

install:
  host: "{{ vm_host }}"
  mem: 1024
  numcpu: 2
  disks:
    primary: /dev/sda
    scsi:
      sda:
        type: lvm
        vg: "{{ hostvars[vm_host].host_name }}"
        lv: "{{ inventory_hostname }}"
        size: 10g
  interfaces:
  - bridge: br-svc
    name: svc0
  - bridge: br-mgmt
    name: mgmt0
  autostart: True

network:
  nameservers: "{{ network_zones.svc.dns }}"
  domain: "{{ host_domain }}"
  systemd_link:
    interfaces: "{{ install.interfaces }}"
  primary:
    interface: svc0
    ip: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets[inventory_hostname]) | ipaddr('address') }}"
    mask: "{{ network_zones.svc.prefix | ipaddr('netmask') }}"
    gateway: "{{ network_zones.svc.gateway }}"