diff --git a/playbooks/davfs.yaml b/playbooks/davfs.yaml index e1ae606..8dbb6e6 100644 --- a/playbooks/davfs.yaml +++ b/playbooks/davfs.yaml @@ -39,7 +39,16 @@ - name: Install davfs on hosts apt: name: davfs2 - state: latest + state: latest + - name: davfs mount + file: + path: "/media/MUSIC/" + state: directory + owner: root + group: root + mode: '0777' + notify: + - Restart DAVFS - name: setup service davfs on host template: src: davfs.service.j2