From f399928637cc2f12bf7cb06a4ea107bc0a88e5db Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 19 Aug 2020 01:29:36 +0200 Subject: add host ch-prometheus --- inventory/host_vars/ch-prometheus.yml | 56 +++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 inventory/host_vars/ch-prometheus.yml (limited to 'inventory/host_vars/ch-prometheus.yml') diff --git a/inventory/host_vars/ch-prometheus.yml b/inventory/host_vars/ch-prometheus.yml new file mode 100644 index 00000000..de31cd83 --- /dev/null +++ b/inventory/host_vars/ch-prometheus.yml @@ -0,0 +1,56 @@ +--- +install_interface: enp1s0 + +install: + efi: true + disks: + primary: software-raid + raid: + level: 1 + members: + - /dev/disk/by-id/nvme-Samsung_SSD_970_PRO_512GB_S5JYNC0N310327Y + - /dev/disk/by-id/nvme-Samsung_SSD_970_PRO_512GB_S5JYNC0N310329Z + system_lvm: + size: 20G + +network: + nameservers: + - 9.9.9.9 + 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_ + bonds: + - name: bond0 + mode: 802.3ad + slaves: + - enp35s0 + - enp36s0 + options: + miimon: 100 + vlans: + bond0: "{{ __vmhost_bridge_interface_zones__['bond0'] | map('extract', network_zones) | map(attribute='vlan') | list }}" + +apt_repo_components: + - main + - contrib + - non-free ## for microcode updates + + +zfs_arc_size: + min: "{{ 2 * 1024 * 1024 * 1024 }}" + max: "{{ 8 * 1024 * 1024 * 1024 }}" + +zfs_zpools: + nvme: + mountpoint: /srv/nvme + create_vdevs: mirror /dev/nvme0n1p4 /dev/nvme1n1p4 + +zfs_sanoid_modules: + nvme/vm: + use_template: production + recursive: yes + process_children_only: yes -- cgit v1.2.3