summaryrefslogtreecommitdiffstats
path: root/roles/stream/tasks/track.yml
blob: 3afb712fd99ad05bdb69c4f1ee12921c246a3597 (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
33
34
35
- name: Copy the lowres restreaming shell script
  template:
    src: lowres.sh
    dest: /usr/local/bin/{{ emacsconf_id }}-lowres-{{ item.id }}.sh
    mode: 0755
- name: Copy lowres on-connect
  template:
    src: on-connect
    dest: /usr/local/bin/{{ emacsconf_id }}-lowres-{{ item.id }}-on-connect
    mode: 0755
- name: Copy lowres on-disconnect
  template:
    src: on-disconnect
    dest: /usr/local/bin/{{ emacsconf_id }}-lowres-{{ item.id }}-on-disconnect
    mode: 0755
- name: Copy fallback script
  template:
    src: screen-fallback.sh
    dest: /usr/local/bin/screen-fallback-{{ item.id }}
    mode: 0755
    owner: "{{ icecast_user }}"
    group: "{{ icecast_group }}"
  vars:
    filename: fallback.webm
    mount: "{{ item.id }}-sorry.webm"
- name: Copy 480p fallback script
  template:
    src: screen-fallback.sh
    dest: /usr/local/bin/screen-fallback-{{ item.id }}-480p
    mode: 0755
    owner: "{{ icecast_user }}"
    group: "{{ icecast_group }}"
  vars:
    filename: 480p-fallback.webm
    mount: "{{ item.id }}-480p-sorry.webm"