From 54b6f83e4bd741f2ddab1f849aaa0c6c3770bce4 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 22 Feb 2024 00:33:20 +0100 Subject: ele-hpws-mini(1,2): prepare for e24 --- dan/ele-hpws-mini2.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 dan/ele-hpws-mini2.yml (limited to 'dan/ele-hpws-mini2.yml') diff --git a/dan/ele-hpws-mini2.yml b/dan/ele-hpws-mini2.yml new file mode 100644 index 00000000..800f3e8c --- /dev/null +++ b/dan/ele-hpws-mini2.yml @@ -0,0 +1,31 @@ +--- +- name: Basic Setup + hosts: ele-hpws-mini2 + 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: ele-hpws-mini2 + roles: + - role: apt-repo/spreadspace + - role: ws/base + - role: core/admin-users + post_tasks: + - name: install chromium start script + copy: + content: | + #!/bin/sh + + SITE=$1 + if [ -z "$SITE"]; then + SITE="https://remote.elev8.at/stream-ui/player.html#control={{ hostvars['ele-jitsi'].jitsi_meet_streamui.default_control_room }}&displayName={{ host_name }}" + fi + export DISPLAY=:0.0 + exec chromium-browser "$SITE" --disable-infobars --use-fake-ui-for-media-stream --kiosk --temp-profile --start-maximized --enabled --enable-logging --autoplay-policy=no-user-gesture-required + dest: /usr/local/bin/jitsi-display.sh + mode: 0755 -- cgit v1.2.3