From 9111ffd6018cff3eefe4cc3c61ee5f95cea9e2d6 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 23 Jan 2023 16:29:42 +0100 Subject: ch-ymir: install as ubuntu-ws --- chaos-at-home/ch-ymir.yml | 18 +++++++++++++ inventory/host_vars/ch-ymir.yml | 58 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 chaos-at-home/ch-ymir.yml diff --git a/chaos-at-home/ch-ymir.yml b/chaos-at-home/ch-ymir.yml new file mode 100644 index 00000000..095ff63e --- /dev/null +++ b/chaos-at-home/ch-ymir.yml @@ -0,0 +1,18 @@ +--- +- name: Basic Setup + hosts: ch-ymir + roles: + - role: apt-repo/base + - role: core/base + - role: core/sshd/base + - role: core/zsh + - role: core/ntp + - role: core/cpu-microcode + +- name: Payload Setup + hosts: ch-ymir + roles: + - role: apt-repo/obs-studio + - role: apt-repo/spreadspace + - role: ws/base + - role: core/admin-users diff --git a/inventory/host_vars/ch-ymir.yml b/inventory/host_vars/ch-ymir.yml index 8ef5c8ea..ccef3bd7 100644 --- a/inventory/host_vars/ch-ymir.yml +++ b/inventory/host_vars/ch-ymir.yml @@ -1,8 +1,38 @@ --- +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: true disks: primary: /dev/disk/by-id/ata-OCZ-VERTEX3_OCZ-H6D2708RV4L6CNY8 + 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: 30G + filesystem: ext4 + mountpoint: /home kernel_cmdline: - "consoleblank=0" @@ -15,3 +45,31 @@ network: 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: operator +# autologin-user-timeout: 0 + +# ws_base_xrandr_setup_script: | +# #!/bin/bash + +# xrandr --output DP-3 --mode 1366x768 --primary +# xrandr --output HDMI-1 --mode 1920x1080 --rate 50 --right-of DP-3 + +# exit 0 -- cgit v1.2.3