summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ele-telesto.yml
blob: 47a50970369317f6bfe1f45ef748292f69c4d3af (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
57
58
59
60
61
62
---
install_interface: enp3s0

install:
  efi: yes
  disks:
    primary: /dev/disk/by-id/ata-OCZ-VERTEX2_OCZ-5328NA52AN84G246
  system_lvm:
    size: 15G

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:
    eno1: "{{ __vmhost_bridge_interface_zones__['eno1'] | map('extract', network_zones) | map(attribute='vlan') | list }}"


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

spreadspace_apt_repo_components:
  - main
  - prometheus


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


zfs_arc_size:
  min: 1GB
  max: 4GB

zfs_pools:
  ssd:
    mountpoint: /srv/ssd
    create_vdevs: ata-OCZ-VERTEX2_OCZ-5328NA52AN84G246-part3
  storage:
    mountpoint: /srv/storage
    create_vdevs: mirror /dev/disk/by-id/ata-SAMSUNG_HD103UJ_S1PVJDWQ720808 /dev/disk/by-id/ata-SAMSUNG_HD103UJ_S1PVJDWQ720810

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