summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ele-helene.yml
blob: 01d8993ed9e8098922389d1cdc5975f1f6288579 (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
---
install_interface: eno1

install:
  efi: true
  disks:
    primary: /dev/disk/by-id/nvme-SAMSUNG_MZVPW256HEGL-00000_S346NB0J803346
  kernel_cmdline:
    - "consoleblank=0"
    - "nomodeset"

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


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

spreadspace_apt_repo_components:
  - main
  - prometheus


ntp_variant: chrony

ntp_client:
  servers:
  - name: "{{ network_zones.lan.gateway }}"
    options: iburst


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


prometheus_exporter_node_textfile_collector_scripts:
  - deleted-libraries
  - smartmon

prometheus_exporters_extra:
  - ssl
  - ipmi

prometheus_exporter_ipmi_modules:
  default:
    collectors:
    - bmc
    - ipmi
    - chassis
    - sel

prometheus_job_multitarget_blackbox__probe:
  ele-mon:
  - instance: "ssh-{{ inventory_hostname }}"
    target: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address') }}:{{ ansible_port | default(22) }}"
    module: ssh_banner