diff options
Diffstat (limited to 'inventory/host_vars')
-rw-r--r-- | inventory/host_vars/ele-telesto.yml | 43 |
1 files changed, 40 insertions, 3 deletions
diff --git a/inventory/host_vars/ele-telesto.yml b/inventory/host_vars/ele-telesto.yml index a6790797..f0dd01b7 100644 --- a/inventory/host_vars/ele-telesto.yml +++ b/inventory/host_vars/ele-telesto.yml @@ -1,20 +1,57 @@ --- +install_interface: enp3s0 + install: efi: yes disks: primary: /dev/disk/by-id/ata-OCZ-VERTEX2_OCZ-5328NA52AN84G246 + system_lvm: + size: 15G network: nameservers: "{{ network_zones.lan.dns }}" domain: "{{ host_domain }}" primary: &_network_primary_ - name: eno1 + 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: + eno1: "{{ __vmhost_bridge_interface_zones__['eno1'] | map('extract', network_zones) | map(attribute='vlan') | list }}" apt_repo_components: - main - - contrib - - non-free + - contrib ## for zfs + - non-free ## for microcode updates + + +installer_storage: + type: lvm + vg: "{{ host_name }}" + lv: installer + size: 3G + fs: ext4 + + +zfs_arc_size: + min: 1GB + max: 4GB + +zfs_pools: + ssd: + mountpoint: /srv/ssd + create_vdevs: ata-OCZ-VERTEX2_OCZ-5328NA52AN84G246-part3 + storage: + mountpoint: /srv/storage + create_vdevs: mirror /dev/disk/by-id/ata-SAMSUNG_HD103UJ_S1PVJDWQ720808 /dev/disk/by-id/ata-SAMSUNG_HD103UJ_S1PVJDWQ720810 + +zfs_sanoid_modules: + nvme/vm: + use_template: production + recursive: yes + process_children_only: yes + storage/vm: + use_template: production + recursive: yes + process_children_only: yes |