From af18f762e56acf402e208b686c1d9c4f30c12044 Mon Sep 17 00:00:00 2001 From: Erin Sims Date: Thu, 8 Sep 2022 19:10:53 -0400 Subject: [PATCH] working on changes, and debugging --- playbooks/mpdf.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/playbooks/mpdf.yaml b/playbooks/mpdf.yaml index cf45e36..a3ecfcb 100644 --- a/playbooks/mpdf.yaml +++ b/playbooks/mpdf.yaml @@ -57,6 +57,7 @@ owner: mpd group: mpd mode: '0755' + loop: "{{ range(1,count|int + 1) }}" - name: mpdf playlist directory file: path: "/var/lib/mpd {{ item }}/playlist" @@ -64,6 +65,7 @@ owner: mpd group: mpd mode: '0755' + loop: "{{ range(1,count|int + 1) }}" - name: mpdf music directory file: path: "/var/lib/mpd {{ item }}/music" @@ -71,6 +73,7 @@ owner: mpd group: mpd mode: '0755' + loop: "{{ range(1,count|int + 1) }}" - name: setup service on hosts template: src: mpdf.service.j2 @@ -79,7 +82,6 @@ owner: root group: root loop: "{{ range(1,count|int + 1) }}" - - name: mpd service start systemd: name: "mpdf{{ item }}"