blob: 524153172dc8741411f5c795f49f61dca3baa0a6 (
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
|
- name: Ensure the directory exists
file:
path: "{{ emacsconf_caption_dir }}/scripts"
state: directory
owner: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
- name: Recreate encoding script only if it's not there
tags: process-prerec
template:
src: "reencode.sh"
dest: "{{ emacsconf_caption_dir }}/scripts/reencode.sh"
owner: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
# This avoids overwriting zaeph's
force: no
mode: 0775
- name: Copy scripts for processing
tags: process-prerec
template:
src: "{{ item }}"
dest: "{{ emacsconf_caption_dir }}/scripts/{{ item }}"
owner: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
mode: 0775
loop:
- process-prerec.sh
- update-task-status.sh
- upload.sh
|