diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-05-02 21:32:03 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-05-02 21:32:03 +0200 |
commit | 198c69b9a2f21d85d7ec4acb3c391203b1ec2f9f (patch) | |
tree | 4e3f1cf7b136596297d09af847ffbb722c0a6148 /inventory | |
parent | lwl k8s: add node 03 (diff) |
add new workstation
Diffstat (limited to 'inventory')
-rw-r--r-- | inventory/group_vars/chaos-at-home/network.yml | 4 | ||||
-rw-r--r-- | inventory/host_vars/ch-equinox-ws.yml | 27 | ||||
-rw-r--r-- | inventory/hosts.ini | 1 |
3 files changed, 31 insertions, 1 deletions
diff --git a/inventory/group_vars/chaos-at-home/network.yml b/inventory/group_vars/chaos-at-home/network.yml index 28a29081..8585bfd5 100644 --- a/inventory/group_vars/chaos-at-home/network.yml +++ b/inventory/group_vars/chaos-at-home/network.yml @@ -5,11 +5,13 @@ network_zones: prefix: 192.168.28.0/24 gateway: 192.168.28.254 dns: - - 192.168.28.254 +# - 192.168.28.254 + - 9.9.9.9 dhcp: start: 100 limit: 199 offsets: + ch-equinox-ws: 1 ch-auth: 88 ch-prometheus: 99 ch-prometheus-old: 250 diff --git a/inventory/host_vars/ch-equinox-ws.yml b/inventory/host_vars/ch-equinox-ws.yml new file mode 100644 index 00000000..dd16fe21 --- /dev/null +++ b/inventory/host_vars/ch-equinox-ws.yml @@ -0,0 +1,27 @@ +--- +preseed_template_name: "xubuntu-focal-desktop" + +install: + efi: true + disks: + primary: /dev/disk/by-id/nvme-Samsung_SSD_970_PRO_1TB_S462NF0MA04112K + +network: + nameservers: "{{ network_zones.lan.dns }}" + domain: "{{ host_domain }}" + primary: + interface: enp8s0 + ip: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address') }}" + mask: "{{ network_zones.lan.prefix | ipaddr('netmask') }}" + gateway: "{{ network_zones.lan.gateway }}" + + +base_modules_blacklist: "{{ base_modules_blacklist_none }}" + +admin_user_host: +- "{{ equinox_user }}" + +ssh_allowusers_host: "{{ admin_user_host | map(attribute='name') | list }}" + +ubuntu_ws_root_fs_size: 30G +ubuntu_ws_home_fs_size: 200G diff --git a/inventory/hosts.ini b/inventory/hosts.ini index 6f3e4475..24f2c438 100644 --- a/inventory/hosts.ini +++ b/inventory/hosts.ini @@ -12,6 +12,7 @@ host_domain=chaos-at-home.org env_group=chaos-at-home [chaos-at-home] +ch-equinox-ws host_name=equinox-ws ch-atlas host_name=atlas ch-pan host_name=pan ch-mimas host_name=mimas |