blob: 581472a10a0feef9083b500017f0cdd059f7b0e3 (
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
36
37
38
|
- name: add apt-key
apt_key:
url: https://non-gnu.uvt.nl/debian/uvt_key.gpg
state: present
- name: Add repo
apt_repository:
repo: deb https://non-gnu.uvt.nl/debian {{ ansible_distribution_release }} uvt
- name: Install mpv
apt:
name: mpv=0.34.1+fruit.2
- name: Create MPV profile directory
file:
path: "{{ emacsconf_home }}/.config/mpv"
state: directory
owner: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
- name: Add MPV profile
template:
src: mpv.conf
dest: "{{ emacsconf_home }}/.config/mpv/mpv.conf"
owner: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
- name: Download MPVC
git:
repo: https://github.com/lwilletts/mpvc.git
dest: /usr/src/mpvc
- name: Install MPVC
make:
chdir: /usr/src/mpvc
target: install
- name: Create mpv scripts for tracks
template:
src: mpv-track
dest: "{{ emacsconf_home }}/bin/{{ item.id }}/-mpv"
owner: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
mode: 0775
loop: "{{ emacsconf_tracks }}"
|