summaryrefslogtreecommitdiffstats
path: root/roles/caption/tasks/main.yml
blob: 6396339150d33b1a6efc5a28c54f2ee88534b002 (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
- name: Install packages
  package:
    name:
      - python3-pip
      - ffmpeg
      - cmake
      - jq
- name: Install whisper
  ansible.builtin.pip:
    name: git+https://github.com/openai/whisper.git
- name: Install lhotse
  ansible.builtin.pip:
    name:
      - lhotse
      - webvtt-py
      - tqdm
      - torchaudio
      - num2words
- name: Copy the shell script
  tags: process-captions
  template:
    src: process-captions.py
    dest: /data/emacsconf/{{ emacsconf_year }}/process-captions.py
    mode: 0755
    owner: sachac
    group: org
- name: Copy talks.json
  tags: talks-json
  template:
    src: talks.json
    dest: /data/emacsconf/{{ emacsconf_year }}/talks.json
    owner: sachac
    group: org