summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-phoebe.yml
blob: a99ff9bff468b9a34987de7cf0fd596cdbb723bc (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
---
install_interface: eno1

install:
  efi: true
  disks:
    primary: /dev/disk/by-id/nvme-KIOXIA-EXCERIA_SSD_31MA10GJK2N2
  system_lvm:
    size: 25G

network:
  nameservers: "{{ network_zones.lan.dns }}"
  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_
  vlans:
    eno3: "{{ __vmhost_bridge_interface_zones__['eno3'] | map('extract', network_zones) | map(attribute='vlan') | list }}"
    eno4: "{{ __vmhost_bridge_interface_zones__['eno4'] | map('extract', network_zones) | map(attribute='vlan') | list }}"


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


installer_storage:
  type: lvm
  vg: "{{ host_name }}"
  lv: installer
  size: 10G
  fs: ext4


zfs_arc_size:
  min: 2GB
  max: 24GB

zfs_pools:
  storage:
    mountpoint: /srv/storage
    create_vdevs: mirror /dev/mapper/crypto-sata0 /dev/mapper/crypto-sata1 /dev/mapper/crypto-sata2

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