Browse Source

working on changes, and debugging

master
Erin Sims 2 years ago
parent
commit
39e03bd44e
2 changed files with 11 additions and 2 deletions
  1. +9
    -0
      playbooks/mpdb.yaml
  2. +2
    -2
      playbooks/mpdf.yaml

+ 9
- 0
playbooks/mpdb.yaml View File

@@ -62,6 +62,15 @@
mode: '0755' mode: '0755'
notify: notify:
- Restart MPD - 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 - name: setup service on hosts
template: template:
src: mpdb.service.j2 src: mpdb.service.j2


+ 2
- 2
playbooks/mpdf.yaml View File

@@ -3,7 +3,7 @@
vars: vars:
mpdcount: 5 mpdcount: 5
path: /var/lib/mpd path: /var/lib/mpd
playlist_directory: /playlist/
playlist_directory: /playlists/
db_file: tag_cache db_file: tag_cache
log_dir: /var/log/ log_dir: /var/log/
log_file: mpd.log log_file: mpd.log
@@ -72,7 +72,7 @@
loop: "{{ range(1,mpdcount|int + 1) }}" loop: "{{ range(1,mpdcount|int + 1) }}"
- name: mpdf playlist directory - name: mpdf playlist directory
file: file:
path: "/var/lib/mpd{{ item }}/playlist"
path: "/var/lib/mpd{{ item }}/playlists"
state: directory state: directory
owner: root owner: root
group: root group: root


Loading…
Cancel
Save