ansible-infra/playbooks/roles/bluetooth_audio_sink/handlers/main.yml

15 lines
349 B
YAML
Raw Normal View History

2022-12-18 04:36:53 +01:00
---
- 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: