music: Remove skipbutton service

This commit is contained in:
polyfloyd 2025-05-14 23:52:52 +02:00
parent 6927806972
commit 64ffeeb512
2 changed files with 0 additions and 48 deletions

View file

@ -51,34 +51,3 @@
state: started state: started
enabled: true enabled: true
daemon_reload: true daemon_reload: true
- name: Install skipbutton depedencies
ansible.builtin.apt:
name:
- python3-mpd
- python3-serial
state: present
- name: Clone skipbutton source
ansible.builtin.git:
repo: https://github.com/bitlair/skipbutton.git
version: master
dest: /opt/skipbutton
accept_hostkey: yes
notify: Restart skipbutton
- name: Install skipbutton service
ansible.builtin.template:
src: skipbutton.service
dest: /etc/systemd/system/skipbutton.service
owner: root
group: root
mode: 0644
notify: Restart skipbutton
- name: Enable skipbutton
ansible.builtin.systemd:
name: skipbutton
state: started
enabled: true
daemon_reload: true

View file

@ -1,17 +0,0 @@
# {{ ansible_managed }}
[Unit]
Description=MPD Skipbutton
After=network.target
Requires=mpd.service
[Service]
Type=simple
Restart=always
RestartSec=10s
ExecStart=/opt/skipbutton/skipbutton.py /dev/ttyS0
DynamicUser=true
Group=dialout
[Install]
WantedBy=multi-user.target