summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-07-31 19:56:24 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-07-31 19:56:24 +0200
commit6e2c088faac5bada18d710bc564971bb6ffa28ad (patch)
tree4210876cbb9d8a1665f820322be69079a31bc97d
parentele-(helene|dione) install sensors and power utils (diff)
install ele-hwps-mini1
-rw-r--r--dan/ele-hpws-mini1.yml13
-rw-r--r--inventory/group_vars/elevate-festival/vars.yml3
-rw-r--r--inventory/host_vars/ele-hpws-mini1.yml63
-rw-r--r--inventory/hosts.ini1
4 files changed, 79 insertions, 1 deletions
diff --git a/dan/ele-hpws-mini1.yml b/dan/ele-hpws-mini1.yml
new file mode 100644
index 00000000..e42d4ca2
--- /dev/null
+++ b/dan/ele-hpws-mini1.yml
@@ -0,0 +1,13 @@
+---
+- name: Basic Setup
+ hosts: ele-hpws-mini1
+ roles:
+ - role: apt-repo/base
+ - role: core/base
+ - role: core/sshd/base
+ - role: core/zsh
+ - role: core/ntp
+ - role: core/cpu-microcode
+ - role: apt-repo/spreadspace
+ - role: ws/base
+ - role: core/admin-users
diff --git a/inventory/group_vars/elevate-festival/vars.yml b/inventory/group_vars/elevate-festival/vars.yml
index b332f473..3fea4df6 100644
--- a/inventory/group_vars/elevate-festival/vars.yml
+++ b/inventory/group_vars/elevate-festival/vars.yml
@@ -56,9 +56,10 @@ network_zones:
- 192.168.23.254
dhcp:
start: 1
- limit: 250
+ limit: 240
leasetime: 2h
offsets:
+ ele-hpws-mini1: 241
equinox-t450s: 250
ele-helene: 253
ele-router: 254
diff --git a/inventory/host_vars/ele-hpws-mini1.yml b/inventory/host_vars/ele-hpws-mini1.yml
new file mode 100644
index 00000000..e4109fe6
--- /dev/null
+++ b/inventory/host_vars/ele-hpws-mini1.yml
@@ -0,0 +1,63 @@
+---
+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:
+ volumes:
+ - name: root
+ size: 20G
+ filesystem: ext4
+ mountpoint: /
+ - name: var+log
+ size: 768M
+ filesystem: ext4
+ mountpoint: /var/log
+ mount_options:
+ - noatime
+ - nodev
+ - noexec
+ - name: home
+ size: 80G
+ filesystem: ext4
+ mountpoint: /home
+ kernel_cmdline:
+ - "consoleblank=0"
+
+network:
+ nameservers: "{{ network_zones.guest.dns }}"
+ domain: "{{ host_domain }}"
+ primary: &_network_primary_
+ name: eno1
+ address: "{{ network_zones.guest.prefix | ipaddr(network_zones.guest.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
+ gateway: "{{ network_zones.guest.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_lightdm_defaults:
+ autologin-user: player
+ autologin-user-timeout: 0
diff --git a/inventory/hosts.ini b/inventory/hosts.ini
index 7b3accf6..ca0dedbe 100644
--- a/inventory/hosts.ini
+++ b/inventory/hosts.ini
@@ -226,6 +226,7 @@ ele-dione host_name=dione
ele-helene host_name=helene
ele-tsdatacop host_name=tsdatacop
ele-hpws-maxi host_name=hpws-maxi
+ele-hpws-mini1 host_name=hpws-mini1
ele-uhrturm host_name=uhrturm
ele-lt host_name=liquidtruth
ele-laptop host_name=elevatop