system-from-scratch/roles/media/tasks/mpv.yml

15 lines
368 B
YAML

- name: Install mpv
become: true
ansible.builtin.apt:
pkg:
- mpv
- name: Create mpv config dir
ansible.builtin.file:
path: "{{ ansible_env.HOME }}/.config/mpv"
state: directory
mode: '1770'
- name: Copy mpv config file
ansible.builtin.copy:
src: files/mpv.conf
dest: "{{ ansible_env.HOME }}/.config/mpv/mpv.conf"
mode: '0660'