summaryrefslogtreecommitdiff
path: root/chaos-at-home/zimaplayer.yml
blob: 392d1dd011ec1d8da61b538967b324e3b6f64d8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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'