18 lines
598 B
YAML
18 lines
598 B
YAML
|
---
|
||
|
|
||
|
- name: Uninstall system package of squeezelite
|
||
|
apt: name=squeezelite state=absent
|
||
|
- name: Remove old config file if present
|
||
|
file: path=/etc/default/squeezelite state=absent
|
||
|
- name: Copy over custom compile version of squeezelite
|
||
|
copy: src=squeezelite dest=/opt/squeezelite mode=700
|
||
|
- name: Install systemd service file
|
||
|
template: src=squeezelite.service dest=/lib/systemd/system/
|
||
|
- name: Enable sysdweb autostart
|
||
|
systemd: name=squeezelite state=restarted enabled=yes daemon_reload=yes
|
||
|
- name: Add to sysdweb
|
||
|
include_role:
|
||
|
name: pi-sysdweb
|
||
|
vars:
|
||
|
sysdweb_name: squeezelite
|