ansible/roles/pi-squeezelite/tasks/main.yml

13 lines
356 B
YAML
Raw Normal View History

2020-05-10 15:25:38 +02:00
---
- name: Apt install squeezelite package
apt: name=squeezelite cache_valid_time=7200 state=present
notify: restart-squeezelite
- name: Install config file
template: src=squeezelite.cfg dest=/etc/default/squeezelite
notify: restart-squeezelite
- name: Add to sysdweb
include_role:
name: pi-sysdweb
vars:
sysdweb_name: squeezelite