Use beets from pip

This commit is contained in:
Wojciech Kozlowski 2024-08-19 15:14:43 +02:00
parent 8688501462
commit cbe1cc7ce9

View File

@ -1,8 +1,25 @@
--- ---
- name: "install beets and other utils" - name: "ensure beets is not installed via apt"
ansible.builtin.apt:
name: "beets"
state: "absent"
autoremove: true
purge: true
- name: "install pipx"
ansible.builtin.apt:
name: "pipx"
- name: "install beets"
community.general.pipx:
name: "beets==2.0.0"
install_deps: true
system_site_packages: true
become_user: "{{ music_user_name }}"
- name: "install other utils"
ansible.builtin.apt: ansible.builtin.apt:
name: name:
- "beets"
- "ffmpeg" - "ffmpeg"
- "flac" - "flac"
- "sqlite3" - "sqlite3"