diff --git a/playbooks/mpdf.yaml b/playbooks/mpdf.yaml index debb1ab..120ef45 100644 --- a/playbooks/mpdf.yaml +++ b/playbooks/mpdf.yaml @@ -66,7 +66,15 @@ group: root mode: '0755' loop: "{{ range(1,count|int + 1) }}" - - name: mpdf music directory + - name: mpdf pid file + file: + path: "/var/lib/mpd{{ item }}/pid" + state: file + owner: root + group: root + mode: '0755' + loop: "{{ range(1,count|int + 1) }}" + - name: mpdf music directory file: path: "/var/lib/mpd{{ item }}/music" state: directory