diff options
author | Christian Pointner <equinox@spreadspace.org> | 2023-01-16 01:12:20 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2023-01-16 01:12:20 +0100 |
commit | 1c37610d9caae39319c16154f5b23c7929555f9d (patch) | |
tree | b4ee19256a4e93120bb6fc5d8805b546c08ce9bc /inventory | |
parent | some minor clenups (diff) |
add new host ch-ymir
Diffstat (limited to 'inventory')
-rw-r--r-- | inventory/group_vars/chaos-at-home/network.yml | 1 | ||||
-rw-r--r-- | inventory/host_vars/ch-ymir.yml | 17 | ||||
-rw-r--r-- | inventory/hosts.ini | 1 |
3 files changed, 19 insertions, 0 deletions
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 |