Use simpler file structure
This commit is contained in:
parent
8ea9414418
commit
e8cb486c8f
96 changed files with 1001 additions and 436 deletions
14
tasks/mpv.yml
Normal file
14
tasks/mpv.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
- 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' }
|
||||
Loading…
Add table
Add a link
Reference in a new issue