summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-phoebe.yml
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/host_vars/ch-phoebe.yml')
-rw-r--r--inventory/host_vars/ch-phoebe.yml54
1 files changed, 54 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-phoebe.yml b/inventory/host_vars/ch-phoebe.yml
new file mode 100644
index 00000000..5280c7d0
--- /dev/null
+++ b/inventory/host_vars/ch-phoebe.yml
@@ -0,0 +1,54 @@
+---
+install_interface: eno1
+
+install:
+ efi: true
+ disks:
+ primary: /dev/disk/by-id/nvme-
+ system_lvm:
+ size: 25G
+
+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:
+ eno1: "{{ __vmhost_bridge_interface_zones__['eno1'] | map('extract', network_zones) | map(attribute='vlan') | list }}"
+ eno2: "{{ __vmhost_bridge_interface_zones__['eno2'] | map('extract', network_zones) | map(attribute='vlan') | list }}"
+ eno3: "{{ __vmhost_bridge_interface_zones__['eno3'] | map('extract', network_zones) | map(attribute='vlan') | list }}"
+ eno4: "{{ __vmhost_bridge_interface_zones__['eno4'] | map('extract', network_zones) | map(attribute='vlan') | list }}"
+
+
+apt_repo_components:
+ - main
+ - contrib
+ - non-free ## for microcode updates
+
+
+installer_storage:
+ type: lvm
+ vg: "{{ host_name }}"
+ lv: installer
+ size: 10G
+ fs: ext4
+
+
+zfs_arc_size:
+ min: 2GB
+ max: 24GB
+
+zfs_pools:
+ storage:
+ mountpoint: /srv/storage
+ create_vdevs: mirror /dev/mapper/crypto-sata0 /dev/mapper/crypto-sata1 /dev/mapper/crypto-sata2
+
+zfs_sanoid_modules:
+ storage/vm:
+ use_template: production
+ recursive: yes
+ process_children_only: yes