|
|
@@ -44,6 +44,9 @@ |
|
|
|
name: mpd |
|
|
|
state: latest |
|
|
|
update_cache: yes |
|
|
|
apt: |
|
|
|
name: davfs |
|
|
|
state: latest |
|
|
|
- name: setup config on hosts |
|
|
|
template: |
|
|
|
src: mpdb.conf.j2 |
|
|
@@ -62,7 +65,13 @@ |
|
|
|
mode: '0755' |
|
|
|
notify: |
|
|
|
- Restart MPD |
|
|
|
|
|
|
|
- name: setup service davfs on host |
|
|
|
template: |
|
|
|
src: davfs.service.j2 |
|
|
|
dest: "/usr/lib/systemd/system/davfs.service" |
|
|
|
mode: 0644 |
|
|
|
owner: root |
|
|
|
group: root |
|
|
|
- name: setup service on hosts |
|
|
|
template: |
|
|
|
src: mpdb.service.j2 |
|
|
@@ -72,6 +81,13 @@ |
|
|
|
group: root |
|
|
|
notify: |
|
|
|
- Restart MPD |
|
|
|
- name: davfs service start |
|
|
|
systemd: |
|
|
|
name: "davfs" |
|
|
|
state: started |
|
|
|
enabled: yes |
|
|
|
masked: no |
|
|
|
daemon_reload: yes |
|
|
|
- name: mpd service start |
|
|
|
systemd: |
|
|
|
name: "mpd" |
|
|
|