- 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 }}"