20 lines
492 B
YAML
20 lines
492 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: 'templates/mpv/input.j2',
|
|
dest: '{{ ansible_env.HOME }}/.config/mpv/input.conf',
|
|
}
|
|
- {
|
|
src: 'templates/mpv/config.j2',
|
|
dest: '{{ ansible_env.HOME }}/.config/mpv/mpv.conf',
|
|
}
|