From 1c37610d9caae39319c16154f5b23c7929555f9d Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 16 Jan 2023 01:12:20 +0100 Subject: add new host ch-ymir --- inventory/group_vars/chaos-at-home/network.yml | 1 + inventory/host_vars/ch-ymir.yml | 17 +++++++++++++++++ inventory/hosts.ini | 1 + 3 files changed, 19 insertions(+) create mode 100644 inventory/host_vars/ch-ymir.yml diff --git a/inventory/group_vars/chaos-at-home/network.yml b/inventory/group_vars/chaos-at-home/network.yml index ad2be6f6..280e85ef 100644 --- a/inventory/group_vars/chaos-at-home/network.yml +++ b/inventory/group_vars/chaos-at-home/network.yml @@ -21,6 +21,7 @@ network_zones: ch-dione: 23 ch-helene: 24 ch-hyperion: 25 + ch-ymir: 26 ch-hpws-maxi: 30 ch-hpws-mini1: 31 ch-alix1d: 32 diff --git a/inventory/host_vars/ch-ymir.yml b/inventory/host_vars/ch-ymir.yml new file mode 100644 index 00000000..3074ae0f --- /dev/null +++ b/inventory/host_vars/ch-ymir.yml @@ -0,0 +1,17 @@ +--- +install: + efi: true + disks: + primary: /dev/disk/by-id/ata-ST500LM021-1KJ152_W6267JP4 + kernel_cmdline: + - "consoleblank=0" + +network: + nameservers: "{{ network_zones.lan.dns }}" + domain: "{{ host_domain }}" + primary: &_network_primary_ + name: eno1 + address: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) }}" + gateway: "{{ network_zones.lan.gateway }}" + interfaces: + - *_network_primary_ diff --git a/inventory/hosts.ini b/inventory/hosts.ini index 81aaae12..c55b5325 100644 --- a/inventory/hosts.ini +++ b/inventory/hosts.ini @@ -53,6 +53,7 @@ ch-thetys host_name=thetys ch-dione host_name=dione ch-helene host_name=helene ch-hyperion host_name=hyperion +ch-ymir host_name=ymir ch-k8s-ctrl host_name=k8s-ctrl ch-hpws-maxi ch-hpws-mini1 -- cgit v1.2.3