music: Update mpd-volume-to-mqtt script
This commit is contained in:
parent
40093a5936
commit
84e3dc8478
5 changed files with 69 additions and 0 deletions
|
@ -5,3 +5,28 @@
|
|||
- jackd
|
||||
- mpd
|
||||
state: present
|
||||
|
||||
- name: Install mpd-volume-to-mqtt script
|
||||
template:
|
||||
src: mpd-volume-to-mqtt.sh
|
||||
dest: /opt/mpd-volume-to-mqtt.sh
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart mpd-volume-to-mqtt
|
||||
|
||||
- name: Install mpd-volume-to-mqtt service
|
||||
template:
|
||||
src: mpd-volume-to-mqtt.service
|
||||
dest: /etc/systemd/system/mpd-volume-to-mqtt.service
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart mpd-volume-to-mqtt
|
||||
|
||||
- name: Enable mpd-volume-to-mqtt
|
||||
systemd:
|
||||
name: mpd-volume-to-mqtt
|
||||
state: started
|
||||
enabled: true
|
||||
daemon_reload: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue