summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-gnocchi.yml
blob: ff27a0819d94d780680dfef293cf2e9a880bb0bc (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
---
install_interface: enp2s0
install_dhcp: true

install:
  disks:
    primary: /dev/disk/by-id/ata-Samsung_SSD_860_EVO_mSATA_250GB_S41MNC0KA13977X
  kernel_cmdline:
    - console=ttyS0,115200n8

network:
  domain: "{{ host_domain }}"
  interfaces:
  - name: br-mgmt
    address: "{{ network_zones.mgmt.prefix | ipaddr(network_zones.mgmt.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
  vlans:
    enp1s0: "{{ __vmhost_bridge_interface_zones__['enp1s0'] | map('extract', network_zones) | map(attribute='vlan') | list }}"
    enp2s0: "{{ __vmhost_bridge_interface_zones__['enp2s0'] | map('extract', network_zones) | map(attribute='vlan') | list }}"
    enp3s0: "{{ __vmhost_bridge_interface_zones__['enp3s0'] | map('extract', network_zones) | map(attribute='vlan') | list }}"


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


installer_lvm:
  vg: "{{ host_name }}"
  lv: installer
  size: 10G
  fs: ext4