From e03797f4fd4661eb7d54016978341ec49dad689a Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 28 Dec 2021 21:48:39 +0100 Subject: prepare atlas config for re-install --- inventory/host_vars/ch-atlas.yml | 45 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) (limited to 'inventory/host_vars/ch-atlas.yml') diff --git a/inventory/host_vars/ch-atlas.yml b/inventory/host_vars/ch-atlas.yml index 120e007d..c0e934d3 100644 --- a/inventory/host_vars/ch-atlas.yml +++ b/inventory/host_vars/ch-atlas.yml @@ -1,14 +1,55 @@ --- +install_interface: enp1s0 + +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 }}" - interfaces: - - name: br-public + primary: &_network_primary_ + name: br-public address: "{{ vm_host.network.bridges.public.prefix | ipaddr(vm_host.network.bridges.public.offsets[inventory_hostname]) | ipaddr('address/prefix') }}" gateway: "{{ vm_host.network.bridges.public.gateway }}" # address6: "{{ vm_host.network.bridges.public.prefix6 | ipaddr(vm_host.network.bridges.public.offsets6[inventory_hostname]) | ipaddr('address/prefix') }}" address6: "{{ vm_host.network.bridges.public.prefix6 | ipaddr(41) | ipaddr('address/prefix') }}" gateway6: "{{ vm_host.network.bridges.public.gateway6 }}" + interfaces: + - *_network_primary_ vlans: eth0: - 502 + + +apt_repo_components: + - main + - contrib ## for zfs + - non-free ## for microcode updates + + +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-part3 + +zfs_sanoid_modules: + ssd/vm: + use_template: production + recursive: yes + process_children_only: yes -- cgit v1.2.3