Add playbook and roles for Audio Pi

This commit is contained in:
yuri 2022-12-18 04:36:53 +01:00
commit 96ac8de142
No known key found for this signature in database
GPG key ID: E646779AC54AEC64
21 changed files with 516 additions and 2 deletions

View file

@ -0,0 +1,14 @@
---
- name: Restart bluetooth service
ansible.builtin.systemd:
service: bluetooth.service
state: restarted
- name: Restart speaker-agent service
become_user: audiosink
ansible.builtin.systemd:
service: speaker-agent.service
state: restarted
scope: user
daemon_reload: true
- name: Reboot host
ansible.builtin.reboot: