summaryrefslogtreecommitdiff
path: root/dan
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-02-21 20:51:33 +0100
committerChristian Pointner <equinox@spreadspace.org>2024-02-21 20:51:33 +0100
commit036b60d84b28eab3faa582093bfb01b95065448d (patch)
tree2cc41b7d241af3f78b785d0cbda159f9b262cb26 /dan
parentele-router: add vpn for mixer vlan (diff)
ele-tarvos: prepare for emc playout server
Diffstat (limited to 'dan')
-rw-r--r--dan/ele-tarvos.yml16
1 files changed, 13 insertions, 3 deletions
diff --git a/dan/ele-tarvos.yml b/dan/ele-tarvos.yml
index 1b010a06..f665de63 100644
--- a/dan/ele-tarvos.yml
+++ b/dan/ele-tarvos.yml
@@ -12,7 +12,17 @@
- name: Payload Setup
hosts: ele-tarvos
roles:
- # - role: apt-repo/spreadspace
- # - role: ws/base
+ - role: apt-repo/spreadspace
+ - role: ws/base
- role: core/admin-users
- - role: streaming/browser-kiosk
+ post_tasks:
+ - name: install script to play videos fullscreen
+ copy:
+ dest: /usr/local/bin/play-video.sh
+ mode: 0755
+ content: |
+ #!/bin/bash
+
+ export DISPLAY=:0.0
+ exec mpv --vo=gpu --keep-open=yes --fs --osd-level=0 \
+ --term-status-msg='${?pause==yes:(Paused) }${time-remaining} ${time-pos} / ${duration} (${percent-pos}%) A-V: ${avsync}' "$@"