diff options
author | Sacha Chua <sacha@sachachua.com> | 2025-01-23 08:56:26 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2025-01-23 08:56:26 -0500 |
commit | 749e48d2312e2b27148df332c70b97fce12f3f1a (patch) | |
tree | d7ca4b6f3a564b6f156aa8dfc3cd071a39353803 /roles/caption | |
parent | f49ae4c6894884b87bed7b96fb1d0f33a7a91601 (diff) | |
download | emacsconf-ansible-749e48d2312e2b27148df332c70b97fce12f3f1a.tar.xz emacsconf-ansible-749e48d2312e2b27148df332c70b97fce12f3f1a.zip |
use pipx
Diffstat (limited to '')
-rw-r--r-- | roles/caption/tasks/main.yml | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/roles/caption/tasks/main.yml b/roles/caption/tasks/main.yml index d3ee4c0..96b3198 100644 --- a/roles/caption/tasks/main.yml +++ b/roles/caption/tasks/main.yml @@ -6,17 +6,20 @@ - cmake - jq - inotify-tools + - pipx - name: Install whisper - ansible.builtin.pip: + community.general.pipx: name: git+https://github.com/openai/whisper.git - name: Install Python packages - ansible.builtin.pip: - name: - - lhotse - - webvtt-py - - tqdm - - torchaudio - - num2words + community.general.pipx: + name: "{{ item }}" + install_deps: true + loop: + - lhotse + - webvtt-py + - tqdm + - torchaudio + - num2words - name: Set up aeneas include_tasks: aeneas.yml - name: Create group |