diff --git a/playbooks/mpdf.yaml b/playbooks/mpdf.yaml index b8a90c1..05a55ca 100644 --- a/playbooks/mpdf.yaml +++ b/playbooks/mpdf.yaml @@ -3,9 +3,13 @@ vars: #we need to loop over the /var/lib/mpd{{ count }} directory for the files/folders below. we need to loop over the stream ports as well count: 5 - path: /var/lib/ + path: /var/lib service_name: "{{ mpd + item }}" - playlist_directory: "{{ path + service_name }}" + playlist_directory: >- + {{ "$s/$s/playlist/" + path, + service_name + }} db_file: tag_cache log_file: mpd.log pid_file: pid @@ -49,6 +53,7 @@ template: src: mpdf.conf.j2 dest: /etc/mpdf{{ item }}.conf + mode: 0644 owner: root group: root notify: