From ef84410ae0ec83921fff56c2eedc028b00aa044b Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 30 Oct 2022 08:18:25 +0100 Subject: [PATCH] switch to user config --- tasks/main.yml | 2 +- templates/mpd.conf.j2 | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index ce1f379..8527d13 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -11,7 +11,7 @@ template: dest: /etc/mpd.conf # required. Location to render the template to on the remote machine. src: ../templates/mpd.conf.j2 # required. Path of a Jinja2 formatted template on the Ansible controller. This can be a relative or absolute path. - notify: start_mpd +# notify: start_mpd #- name: stat default music path diff --git a/templates/mpd.conf.j2 b/templates/mpd.conf.j2 index aa6635d..21a73ce 100644 --- a/templates/mpd.conf.j2 +++ b/templates/mpd.conf.j2 @@ -19,8 +19,8 @@ audio_output { format "44100:16:2" } -pid_file "/run/mpd/mpd.pid" -db_file "/var/lib/mpd/mpd.db" -state_file "/var/lib/mpd/mpdstate" -playlist_directory "/var/lib/mpd/playlists" +pid_file "~/.config/mpd/mpd.pid" +db_file "~/.config/mpd/mpd.db" +state_file "~/.config/mpd/mpdstate" +playlist_directory "~/.config/mpd/playlists" max_output_buffer_size "16384"