|
@@ -3,9 +3,13 @@ |
|
|
vars: |
|
|
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 |
|
|
#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 |
|
|
count: 5 |
|
|
path: /var/lib/ |
|
|
|
|
|
|
|
|
path: /var/lib |
|
|
service_name: "{{ mpd + item }}" |
|
|
service_name: "{{ mpd + item }}" |
|
|
playlist_directory: "{{ path + service_name }}" |
|
|
|
|
|
|
|
|
playlist_directory: >- |
|
|
|
|
|
{{ "$s/$s/playlist/" |
|
|
|
|
|
path, |
|
|
|
|
|
service_name |
|
|
|
|
|
}} |
|
|
db_file: tag_cache |
|
|
db_file: tag_cache |
|
|
log_file: mpd.log |
|
|
log_file: mpd.log |
|
|
pid_file: pid |
|
|
pid_file: pid |
|
@@ -49,6 +53,7 @@ |
|
|
template: |
|
|
template: |
|
|
src: mpdf.conf.j2 |
|
|
src: mpdf.conf.j2 |
|
|
dest: /etc/mpdf{{ item }}.conf |
|
|
dest: /etc/mpdf{{ item }}.conf |
|
|
|
|
|
mode: 0644 |
|
|
owner: root |
|
|
owner: root |
|
|
group: root |
|
|
group: root |
|
|
notify: |
|
|
notify: |
|
|