summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-prometheus-legacy.yml
blob: 2eb2858f585df6d48f83763dc609b7747c1643f0 (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
39
40
41
42
43
---
install:
  vm:
    memory: 4G
    numcpus: 2
    autostart: True
  disks:
    primary: /dev/sda
    scsi:
      sda:
        type: zfs
        name: root
        size: 20g
      sdb:
        type: zfs
        name: boot
        size: 512M
      sdc:
        type: zfs
        backend: storage
        name: home
        size: 350g
  system_lvm:
    volumes:
    - name: ruth
      size: 5G
      filesystem: ext4
      mountpoint: /
  interfaces:
  - bridge: br-lan
    name: eth0

network:
  nameservers: "{{ network_zones.lan.dns }}"
  domain: "{{ host_domain }}"
  systemd_link:
    interfaces: "{{ install.interfaces }}"
  primary: &_network_primary_
    name: eth0
    address: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) }}"
    gateway: "{{ network_zones.lan.gateway }}"
  interfaces:
  - *_network_primary_