Fix mpd file permissions
This commit is contained in:
parent
2d2fb508f0
commit
58b8d145e6
1 changed files with 2 additions and 4 deletions
|
|
@ -17,7 +17,7 @@
|
|||
ansible.builtin.file:
|
||||
path: '{{ item.path }}'
|
||||
state: '{{ item.state }}'
|
||||
mode: '0644'
|
||||
mode: '0755'
|
||||
loop:
|
||||
- path: '{{ mpd_configuration_dir }}'
|
||||
state: 'directory'
|
||||
|
|
@ -34,8 +34,6 @@
|
|||
ansible.builtin.file:
|
||||
path: '{{ item.path }}'
|
||||
state: '{{ item.state }}'
|
||||
mode: '0644'
|
||||
recurse: '{{ item.path is directory }}'
|
||||
loop:
|
||||
- path: '{{ mpd_configuration_dir }}/log'
|
||||
state: 'absent'
|
||||
|
|
@ -50,7 +48,7 @@
|
|||
ansible.builtin.template:
|
||||
src: '{{ item.src }}'
|
||||
dest: '{{ item.dest }}'
|
||||
mode: '0644'
|
||||
mode: '0755'
|
||||
loop:
|
||||
- src: 'templates/mpd/mpd.conf.j2'
|
||||
dest: '{{ mpd_configuration_dir }}/mpd.conf'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue