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-mpd
|
||||||
- mopidy-spotify
|
- mopidy-spotify
|
||||||
- name: Template out config
|
- name: Template out config
|
||||||
template:
|
block:
|
||||||
src: mopidy.conf
|
- name: Create config directory
|
||||||
mode: "0600"
|
file:
|
||||||
dest: "~/.config/mopidy/mopidy.conf"
|
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_user: "{{ user_username }}"
|
||||||
become: yes
|
become: yes
|
||||||
- name: Remove MPD
|
- name: Remove MPD
|
||||||
|
Loading…
Reference in New Issue
Block a user