blob: 0b9d7568725bbcb902e42f714a0266d18726cda6 (
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
26
27
28
29
30
31
32
|
---
- 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: ws/base
- role: core/users
post_tasks:
- name: generate play script
copy:
content: |
#!/bin/bash
exec mpv -fs --loop=inf --af-add="channelmap=0|1:stereo" rtmp://{{ network_zones.guest.prefix | ansible.utils.ipaddr(network_zones.guest.offsets['ele-helene']) | ansible.utils.ipaddr('address') }}/emc/full
dest: /usr/local/bin/emc-play.sh
mode: 0755
## TODO:
# * add user "player" (no admin rights)
# * set background for user player
# * configure power management:
# * activate "Presentaion Mode"
# * change power button to "shutdown"
# * add emc-play.sh to autostart
|