diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-08-24 19:25:40 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-08-24 19:25:40 +0200 |
commit | b17c559251dfd157fe2cf220044887f08208bb3c (patch) | |
tree | f395cb16d81a65955f9a12a88c9eab862848d976 /elevate/ele-emcplayer.yml | |
parent | allow ssh jump users to also do reverse forwards (diff) |
split environment group dan to skillz and elevate
Diffstat (limited to 'elevate/ele-emcplayer.yml')
-rw-r--r-- | elevate/ele-emcplayer.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/elevate/ele-emcplayer.yml b/elevate/ele-emcplayer.yml new file mode 100644 index 00000000..0b9d7568 --- /dev/null +++ b/elevate/ele-emcplayer.yml @@ -0,0 +1,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 |