Browse Source

updated the davfs stuff

master
Erin Sims 2 years ago
parent
commit
6471bf1459
1 changed files with 17 additions and 1 deletions
  1. +17
    -1
      playbooks/mpdb.yaml

+ 17
- 1
playbooks/mpdb.yaml View File

@@ -44,6 +44,9 @@
name: mpd name: mpd
state: latest state: latest
update_cache: yes update_cache: yes
apt:
name: davfs
state: latest
- name: setup config on hosts - name: setup config on hosts
template: template:
src: mpdb.conf.j2 src: mpdb.conf.j2
@@ -62,7 +65,13 @@
mode: '0755' mode: '0755'
notify: notify:
- Restart MPD - 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 - name: setup service on hosts
template: template:
src: mpdb.service.j2 src: mpdb.service.j2
@@ -72,6 +81,13 @@
group: root group: root
notify: notify:
- Restart MPD - Restart MPD
- name: davfs service start
systemd:
name: "davfs"
state: started
enabled: yes
masked: no
daemon_reload: yes
- name: mpd service start - name: mpd service start
systemd: systemd:
name: "mpd" name: "mpd"


Loading…
Cancel
Save