summaryrefslogtreecommitdiff
path: root/dan/ele-hpws-mini1.yml
diff options
context:
space:
mode:
Diffstat (limited to 'dan/ele-hpws-mini1.yml')
-rw-r--r--dan/ele-hpws-mini1.yml39
1 files changed, 1 insertions, 38 deletions
diff --git a/dan/ele-hpws-mini1.yml b/dan/ele-hpws-mini1.yml
index 657ff5d8..2d2690b6 100644
--- a/dan/ele-hpws-mini1.yml
+++ b/dan/ele-hpws-mini1.yml
@@ -12,41 +12,4 @@
- name: Payload Setup
hosts: ele-hpws-mini1
roles:
- - role: apt-repo/obs-studio
- - 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
- DISPLAY=:0 chromium "$SITE" --window-position=1920,0 --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
-
- - name: install mpv play script
- copy:
- content: |
- #!/bin/sh
- exec mpv --geometry=1920x1080+1920+0 -fs --osd-level=0 "$@"
- dest: /usr/local/bin/play-video.sh
- mode: 0755
-
- - name: create pulse daemon config directory
- file:
- path: /etc/pulse/daemon.conf.d
- state: directory
-
- - name: force pulseaudio sample rates to 48kHz
- copy:
- content: |
- avoid-resampling = false
- default-sample-rate = 48000
- alternate-sample-rate = 48000
- dest: /etc/pulse/daemon.conf.d/force-48k.conf
+ - role: streaming/browser-kiosk