summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-07-12 23:14:36 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-07-12 23:14:36 +0200
commitfea65a1dde422a3202d651b060e8d5a724834d57 (patch)
treea6b2b3d71b72ecf8abf4151e6cbd19abd7c27aa8 /inventory
parentadd datacop ssh key to root on ele-jitsi (diff)
add testhosts for elevate obs workstations
Diffstat (limited to 'inventory')
-rw-r--r--inventory/group_vars/chaos-at-home/network.yml2
-rw-r--r--inventory/host_vars/ch-hpws-maxi.yml62
-rw-r--r--inventory/host_vars/ch-hpws-mini1.yml62
-rw-r--r--inventory/hosts.ini2
4 files changed, 128 insertions, 0 deletions
diff --git a/inventory/group_vars/chaos-at-home/network.yml b/inventory/group_vars/chaos-at-home/network.yml
index db345b75..e9b65bfd 100644
--- a/inventory/group_vars/chaos-at-home/network.yml
+++ b/inventory/group_vars/chaos-at-home/network.yml
@@ -18,6 +18,8 @@ network_zones:
ch-thetys: 22
ch-dione: 23
ch-helene: 24
+ ch-hpws-maxi: 30
+ ch-hpws-mini1: 31
ch-prometheus: 200
ch-epimetheus: 201
ch-gw-lan: 254
diff --git a/inventory/host_vars/ch-hpws-maxi.yml b/inventory/host_vars/ch-hpws-maxi.yml
new file mode 100644
index 00000000..c5637069
--- /dev/null
+++ b/inventory/host_vars/ch-hpws-maxi.yml
@@ -0,0 +1,62 @@
+---
+debian_preseed_language: de
+debian_preseed_country: AT
+debian_preseed_locales:
+ - de_AT.UTF-8
+ - de_DE.UTF-8
+ - en_US.UTF-8
+
+debian_preseed_no_splash: no
+debian_preseed_install_tasks:
+ - xubuntu-desktop
+
+
+install:
+ efi: yes
+ disks:
+ primary: /dev/disk/by-id/ata-WDC_WDS120G2G0A-00JH30_200854443001
+ system_lvm:
+ size: 50G
+ volumes:
+ - name: root
+ size: 20G
+ filesystem: ext4
+ mountpoint: /
+ - name: var+log
+ size: 768M
+ filesystem: ext4
+ mountpoint: /var/log
+ mount_options:
+ - noatime
+ - nodev
+ - noexec
+
+network:
+ nameservers: "{{ network_zones.lan.dns }}"
+ domain: "{{ host_domain }}"
+ primary: &_network_primary_
+ name: eno1
+ address: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
+ gateway: "{{ network_zones.lan.gateway }}"
+ interfaces:
+ - *_network_primary_
+
+
+apt_repo_components:
+ - main
+ - restricted
+ - universe
+ - multiverse
+
+base_modules_blacklist: "{{ base_modules_blacklist_all_but_sound }}"
+
+admin_users_host:
+ - equinox
+
+ws_base_extra_packages:
+ # needs apt-repo/obs-studio
+ - obs-studio
+
+ws_base_lightdm_defaults:
+ autologin-user: equinox
+ autologin-user-timeout: 0
diff --git a/inventory/host_vars/ch-hpws-mini1.yml b/inventory/host_vars/ch-hpws-mini1.yml
new file mode 100644
index 00000000..bb51be47
--- /dev/null
+++ b/inventory/host_vars/ch-hpws-mini1.yml
@@ -0,0 +1,62 @@
+---
+debian_preseed_language: de
+debian_preseed_country: AT
+debian_preseed_locales:
+ - de_AT.UTF-8
+ - de_DE.UTF-8
+ - en_US.UTF-8
+
+debian_preseed_no_splash: no
+debian_preseed_install_tasks:
+ - xubuntu-desktop
+
+
+install:
+ efi: yes
+ disks:
+ primary: /dev/disk/by-id/ata-WDC_WDS120G2G0A-00JH30_20123D806706
+ system_lvm:
+ size: 50G
+ volumes:
+ - name: root
+ size: 20G
+ filesystem: ext4
+ mountpoint: /
+ - name: var+log
+ size: 768M
+ filesystem: ext4
+ mountpoint: /var/log
+ mount_options:
+ - noatime
+ - nodev
+ - noexec
+
+network:
+ nameservers: "{{ network_zones.lan.dns }}"
+ domain: "{{ host_domain }}"
+ primary: &_network_primary_
+ name: eno1
+ address: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
+ gateway: "{{ network_zones.lan.gateway }}"
+ interfaces:
+ - *_network_primary_
+
+
+apt_repo_components:
+ - main
+ - restricted
+ - universe
+ - multiverse
+
+base_modules_blacklist: "{{ base_modules_blacklist_all_but_sound }}"
+
+admin_users_host:
+ - equinox
+
+ws_base_extra_packages:
+ # needs apt-repo/obs-studio
+ - obs-studio
+
+ws_base_lightdm_defaults:
+ autologin-user: equinox
+ autologin-user-timeout: 0
diff --git a/inventory/hosts.ini b/inventory/hosts.ini
index d6d9624a..769bdfbf 100644
--- a/inventory/hosts.ini
+++ b/inventory/hosts.ini
@@ -45,6 +45,8 @@ ch-thetys host_name=thetys
ch-dione host_name=dione
ch-helene host_name=helene
ch-k8s-master host_name=k8s-master
+ch-hpws-maxi
+ch-hpws-mini1
[chaos-at-home:children]
mz-chaos-at-home