summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-atlas.yml
blob: 9f1fd63ec79d3c89f94664fe9141f3584f1e7f57 (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
install_interface: enp1s0
system_lvm_volume_size_root: 3G

install:
  efi: no
  disks:
    primary: /dev/disk/by-id/ata-Samsung_SSD_840_PRO_Series_S1ATNSAD703481A
  system_lvm:
    size: 20G

network:
  nameservers: "{{ vm_host.network.dns }}"
  domain: "{{ host_domain }}"
  primary: &_network_primary_
    name: br-public
    address: "{{ vm_host.network.bridges.public.prefix | ansible.utils.ipaddr(vm_host.network.bridges.public.offsets[inventory_hostname]) }}"
    gateway: "{{ vm_host.network.bridges.public.gateway }}"
    address6: "{{ vm_host.network.bridges.public.prefix6 | ansible.utils.ipaddr(vm_host.network.bridges.public.offsets6[inventory_hostname]) }}"
    gateway6: "{{ vm_host.network.bridges.public.gateway6 }}"
  interfaces:
  - *_network_primary_
  vlans:
    enp1s0:
    - 502


ssh_keys_root_extra:
  - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBjZEFZLrl2KIqYl/GU8Vkp7mlhAbFbjwf4Ht9zQRmI8 ZFS Backup syncoid@epimetheus


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: 5G
  fs: ext4


zfs_arc_size:
  min: 512MB
  max: 2GB

zfs_pools:
  ssd:
    mountpoint: /srv/ssd
    create_vdevs: /dev/disk/by-id/ata-Samsung_SSD_840_PRO_Series_S1ATNSAD703481A-part2
    properties:
      ashift: 12
      autotrim: "on"

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



prometheus_exporter_node_textfile_collector_scripts:
  - deleted-libraries
  - smartmon

prometheus_job_multitarget_blackbox__probe:
  ch-mon:
  - instance: "ssh-{{ inventory_hostname }}"
    target: "{{ network.primary.address | ansible.utils.ipaddr('address') }}:{{ ansible_port | default(22) }}"
    module: ssh_banner