From 23ecb54d0b05404997ec2f9c08c02551196bffa1 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 1 Apr 2024 17:33:51 +0200 Subject: add streaming/mpv-headless role (needs more testing) --- inventory/host_vars/ele-tarvos.yml | 49 ++++++++++++++------------------------ 1 file changed, 18 insertions(+), 31 deletions(-) (limited to 'inventory/host_vars') diff --git a/inventory/host_vars/ele-tarvos.yml b/inventory/host_vars/ele-tarvos.yml index b467783b..ebdc1bde 100644 --- a/inventory/host_vars/ele-tarvos.yml +++ b/inventory/host_vars/ele-tarvos.yml @@ -1,11 +1,4 @@ --- -ubuntu_autoinstall_locale: de_AT -ubuntu_autoinstall_keyboard_layout: de -ubuntu_autoinstall_keyboard_variant: nodeadkeys -ubuntu_autoinstall_timezone: Europe/Vienna - -ubuntu_autoinstall_desktop: xubuntu - install: efi: no disks: @@ -30,6 +23,7 @@ install: mountpoint: /home kernel_cmdline: - "consoleblank=0" + - "video=1920x1080@25" network: nameservers: "{{ network_zones.lan.dns }}" @@ -41,30 +35,23 @@ network: 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: - - chromium-browser - -ws_base_lightdm_defaults: - autologin-user: elevate - autologin-user-timeout: 0 - -ws_base_xrandr_setup_script: | - #!/bin/bash - - xrandr --output HDMI-1 --mode 1920x1080 --rate 50 --primary - - exit 0 +apt_repo_components: + - main + - contrib + - non-free-firmware + - non-free + +mpv_headless_media_storage: + type: lvm + vg: "{{ host_name }}" + lv: media + size: 20G + fs: ext4 + +#mpv_headless_audio_device: "alsa/default" +mpv_headless_audio_device: "alsa/hdmi" +mpv_headless_video_mode: "1920x1080@25.00" +#mpv_headless_video_mode: "1920x1080@50" -- cgit v1.2.3