summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-epimetheus.yml
blob: 8545c76be298132235f1eb03da7f054c587d4b00 (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
---
install:
  efi: true
  disks:
    primary: "/dev/disk/by-id/ata-KINGSTON_SMS200S360G_50026B7244002329"

network:
  nameservers: "{{ network_zones.lan.dns }}"
  domain: "{{ host_domain }}"
  primary: &_network_primary_
    name: enp5s0
    address: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
    gateway: "{{ network_zones.lan.gateway }}"
  interfaces:
  - *_network_primary_


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


cryptdisk_volumes:
  crypto-sata0:
    passphrase: "{{ vault_cryptdisk_volumes['crypto-sata0'].passphrase }}"
    device: /dev/disk/by-id/ata-WDC_WD30EFRX-68AX9N0_WD-WMC1T1674991
  crypto-sata1:
    passphrase: "{{ vault_cryptdisk_volumes['crypto-sata1'].passphrase }}"
    device: /dev/disk/by-id/ata-WDC_WD30EFRX-68AX9N0_WD-WMC1T1357355
  crypto-sata2:
    passphrase: "{{ vault_cryptdisk_volumes['crypto-sata2'].passphrase }}"
    device: /dev/disk/by-id/ata-WDC_WD30EFRX-68AX9N0_WD-WMC1T1522231
  crypto-sata3:
    passphrase: "{{ vault_cryptdisk_volumes['crypto-sata3'].passphrase }}"
    device: /dev/disk/by-id/ata-WDC_WD30EFRX-68AX9N0_WD-WMC1T1696205


zfs_arc_size:
  min: 2GB
  max: 20GB

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