20 lines
472 B
YAML
20 lines
472 B
YAML
- name: create configuration directory
|
|
file:
|
|
path: "{{ ansible_env.HOME }}/.config/mpv"
|
|
state: directory
|
|
mode: "0700"
|
|
|
|
- name: copy configuration files
|
|
template:
|
|
src: "{{ item.src }}"
|
|
dest: "{{ item.dest }}"
|
|
mode: "0644"
|
|
loop:
|
|
- {
|
|
src: "mpv/input.j2",
|
|
dest: "{{ ansible_env.HOME }}/.config/mpv/input.conf",
|
|
}
|
|
- {
|
|
src: "mpv/config.j2",
|
|
dest: "{{ ansible_env.HOME }}/.config/mpv/mpv.conf",
|
|
}
|