diff --git a/roles/music/tasks/mpd.yaml b/roles/music/tasks/mpd.yaml index 317df4e..ebf2406 100644 --- a/roles/music/tasks/mpd.yaml +++ b/roles/music/tasks/mpd.yaml @@ -51,34 +51,3 @@ state: started enabled: 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 diff --git a/roles/music/templates/skipbutton.service b/roles/music/templates/skipbutton.service deleted file mode 100644 index f2a5d6f..0000000 --- a/roles/music/templates/skipbutton.service +++ /dev/null @@ -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