summaryrefslogtreecommitdiffstats
path: root/roles/stream/tasks
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-11-24 10:12:59 -0500
committerSacha Chua <sacha@sachachua.com>2022-11-24 10:12:59 -0500
commit1a07538253b49a1e12df144f2c005898d52be99f (patch)
treea158f4885ec1e3a7b1e6182c702745d23cd85a80 /roles/stream/tasks
parent1957b894290bcbee8767f6cd11d24927c21cdf9a (diff)
downloademacsconf-ansible-1a07538253b49a1e12df144f2c005898d52be99f.tar.xz
emacsconf-ansible-1a07538253b49a1e12df144f2c005898d52be99f.zip
restream, go back to old mount structure
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