From 1a07538253b49a1e12df144f2c005898d52be99f Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Thu, 24 Nov 2022 10:12:59 -0500 Subject: restream, go back to old mount structure --- roles/stream/tasks/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'roles/stream/tasks') diff --git a/roles/stream/tasks/main.yml b/roles/stream/tasks/main.yml index 941ac92..b2bbc69 100644 --- a/roles/stream/tasks/main.yml +++ b/roles/stream/tasks/main.yml @@ -1,3 +1,8 @@ +- name: Install at for scheduling commands + become: true + package: + name: at + state: present - name: Install Icecast become: true package: @@ -62,3 +67,13 @@ owner: orga mode: 0755 loop: "{{ restreaming_platforms | subelements('streams') | list }}" + no_log: True +- name: Set up restream scripts + tags: restream + template: + src: screen-restream.sh + dest: /home/orga/screen-restream-{{ item[1].name }}-{{ item[0].name }}.sh + owner: orga + mode: 0755 + loop: "{{ restreaming_platforms | subelements('streams') | list }}" + no_log: True -- cgit v1.2.3