Create mopidy config directory if it doesn't exist
This commit is contained in:
parent
af9d0da2ea
commit
fe7b962ad7
@ -25,10 +25,17 @@
|
||||
- mopidy-mpd
|
||||
- mopidy-spotify
|
||||
- name: Template out config
|
||||
template:
|
||||
src: mopidy.conf
|
||||
mode: "0600"
|
||||
dest: "~/.config/mopidy/mopidy.conf"
|
||||
block:
|
||||
- name: Create config directory
|
||||
file:
|
||||
path: "~/.config/mopidy"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
- name: Template out config
|
||||
template:
|
||||
src: mopidy.conf
|
||||
mode: "0600"
|
||||
dest: "~/.config/mopidy/mopidy.conf"
|
||||
become_user: "{{ user_username }}"
|
||||
become: yes
|
||||
- name: Remove MPD
|
||||
|
Loading…
Reference in New Issue
Block a user