summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-oulu.yml
blob: 813bc184a587addfff471f067c13b75c4e6bda99 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
---
install_interface: eno1

install:
  efi: true
  disks:
    primary: software-raid
    raid:
      level: 1
      members:
      - /dev/disk/by-id/nvme-Samsung_SSD_970_PRO_1TB_S462NF0M800161Z
      - /dev/disk/by-id/nvme-Samsung_SSD_970_PRO_1TB_S462NF0M800191M
  system_lvm:
    size: 15G

network:
  nameservers:
    - 9.9.9.9
  domain: "{{ host_domain }}"
  primary: &_network_primary_
    name: br-lan
    address: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
    gateway: "{{ network_zones.lan.gateway }}"
  interfaces:
  - *_network_primary_
  bonds:
  - name: bond0
    mode: 802.3ad
    slaves:
    - eno1
    - eno2
    options:
      miimon: 100
  vlans:
    bond0: "{{ __vmhost_bridge_interface_zones__['bond0'] | map('extract', network_zones) | map(attribute='vlan') | list }}"

apt_repo_components:
  - main
  - contrib
  - non-free ## for microcode updates


zfs_arc_size:
  min: "{{ 2 * 1024 * 1024 * 1024 }}"
  max: "{{ 8 * 1024 * 1024 * 1024 }}"

zfs_zpools:
  storage:
    mountpoint: /srv/storage
    create_vdevs: mirror /dev/nvme0n1p4 /dev/nvme1n1p4

zfs_sanoid_modules:
  storage/vm:
    use_template: production
    recursive: yes
    process_children_only: yes