summaryrefslogtreecommitdiffstats
path: root/roles/stream/tasks
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--roles/stream/tasks/main.yml15
1 files changed, 15 insertions, 0 deletions
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