diff options
Diffstat (limited to 'chaos-at-home/zimaplayer.yml')
-rw-r--r-- | chaos-at-home/zimaplayer.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/chaos-at-home/zimaplayer.yml b/chaos-at-home/zimaplayer.yml new file mode 100644 index 00000000..392d1dd0 --- /dev/null +++ b/chaos-at-home/zimaplayer.yml @@ -0,0 +1,25 @@ +--- +- name: Basic Setup + hosts: "{{ install_hostname }}" + 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: "{{ install_hostname }}" + roles: + - role: apt-repo/spreadspace + - role: streaming/blackmagic/desktopvideo + - role: streaming/mpv-headless + post_tasks: + - name: install script to play videos via decklink card + copy: + dest: /usr/local/bin/play-video.sh + mode: 0755 + content: | + #!/bin/bash + exec ffmpeg -i "$1" -ac 2 -pix_fmt uyvy422 -s 1920x1080 -r 25 -f decklink 'DeckLink Mini Monitor 4K' |