Browse Source

working on changes, and debugging

master
Erin Sims 2 years ago
parent
commit
6d966f84d3
2 changed files with 9 additions and 1 deletions
  1. +1
    -1
      playbooks/mpdf.conf.j2
  2. +8
    -0
      playbooks/mpdf.yaml

+ 1
- 1
playbooks/mpdf.conf.j2 View File

@@ -63,7 +63,7 @@ state_file "{{ [path,state_file,item]|join() }}"
# The location of the sticker database. This is a database which # The location of the sticker database. This is a database which
# manages dynamic information attached to songs. # manages dynamic information attached to songs.
# #
sticker_file "{{ [path,sticker_file,item,'.sql']|join() }}"
sticker_file "{{ [path,sticker_file,'.sql']|join() }}"


############################################################################### ###############################################################################




+ 8
- 0
playbooks/mpdf.yaml View File

@@ -74,6 +74,14 @@
group: root group: root
mode: '0755' mode: '0755'
loop: "{{ range(1,count|int + 1) }}" loop: "{{ range(1,count|int + 1) }}"
- name: copy sticker.sql
copy:
src: "/var/lib/mpd/sticker.sql"
dest: "var/lib/mpd{{ item }}/sticker.sql"
owner: root
group: root
mode: '0644'
loop: "{{ range(1,count|int + 1) }}"
- name: setup service on hosts - name: setup service on hosts
template: template:
src: mpdf.service.j2 src: mpdf.service.j2


Loading…
Cancel
Save