From 39e03bd44e7139f8987bac79e34d1d94f79749d3 Mon Sep 17 00:00:00 2001 From: Erin Sims Date: Sat, 1 Oct 2022 07:44:03 -0400 Subject: [PATCH] working on changes, and debugging --- playbooks/mpdb.yaml | 9 +++++++++ playbooks/mpdf.yaml | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/playbooks/mpdb.yaml b/playbooks/mpdb.yaml index 1ea0fe7..f1a1e98 100644 --- a/playbooks/mpdb.yaml +++ b/playbooks/mpdb.yaml @@ -62,6 +62,15 @@ mode: '0755' notify: - Restart MPD + - name: mpdf music playlist directory + file: + path: "/var/lib/mpd/music/playlists/" + state: directory + owner: root + group: root + mode: '0755' + notify: + - Restart MPD - name: setup service on hosts template: src: mpdb.service.j2 diff --git a/playbooks/mpdf.yaml b/playbooks/mpdf.yaml index 7a6c39c..bcae623 100644 --- a/playbooks/mpdf.yaml +++ b/playbooks/mpdf.yaml @@ -3,7 +3,7 @@ vars: mpdcount: 5 path: /var/lib/mpd - playlist_directory: /playlist/ + playlist_directory: /playlists/ db_file: tag_cache log_dir: /var/log/ log_file: mpd.log @@ -72,7 +72,7 @@ loop: "{{ range(1,mpdcount|int + 1) }}" - name: mpdf playlist directory file: - path: "/var/lib/mpd{{ item }}/playlist" + path: "/var/lib/mpd{{ item }}/playlists" state: directory owner: root group: root