diff --git a/playbooks/site.yml b/playbooks/site.yml index fdf1e22..60792b7 100644 --- a/playbooks/site.yml +++ b/playbooks/site.yml @@ -6,7 +6,7 @@ - name: update script shell: cmd: | - rm -rf /etc/apt/sources.list.d/jean-francois-dockes-ubuntu-upnpp1-noble.sources + /usr/bin/install_bluealsa_openaptx.sh - name: switch mirror copy: src: ../files/sources.list.d/ @@ -310,6 +310,7 @@ - enable_xplayer_server - start_xplayer_server - restart_xplayer_server + - reboot_required register: copy_result changed_when: copy_result.changed or (force_update | default(false) | bool) @@ -412,6 +413,23 @@ shell: cmd: systemctl restart sing-box + - name: install_bluealsa_openaptx + shell: + cmd: /usr/bin/install_bluealsa_openaptx.sh + + - name: enable_bluealsa + shell: + cmd: systemctl enable bluealsa + - name: stop_bluealsa + shell: + cmd: systemctl stop bluealsa + - name: start_bluealsa + shell: + cmd: systemctl start bluealsa + - name: restart_bluealsa + shell: + cmd: systemctl restart bluealsa + - name: enable_xplayer_server shell: cmd: systemctl enable xplayer-server @@ -428,19 +446,5 @@ shell: cmd: echo "need reboot" - - name: enable_bluealsa - shell: - cmd: systemctl enable bluealsa - - name: stop_bluealsa - shell: - cmd: systemctl stop bluealsa - - name: start_bluealsa - shell: - cmd: systemctl start bluealsa - - name: restart_bluealsa - shell: - cmd: systemctl restart bluealsa - - name: install_bluealsa_openaptx - shell: - cmd: /usr/bin/install_bluealsa_openaptx.sh +