From 58b8d145e6af0bc9885c9082ffc8c5e59f211e9f Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Sun, 9 Mar 2025 08:15:18 +0100 Subject: [PATCH] Fix mpd file permissions --- tasks/mpd.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tasks/mpd.yml b/tasks/mpd.yml index 569a263..08de7d4 100644 --- a/tasks/mpd.yml +++ b/tasks/mpd.yml @@ -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'