feat: raz

This commit is contained in:
xin 2025-11-07 14:00:52 +08:00
parent e590805570
commit e23b7d2a8a

View File

@ -6,7 +6,7 @@
- name: update script - name: update script
shell: shell:
cmd: | cmd: |
rm -rf /etc/apt/sources.list.d/jean-francois-dockes-ubuntu-upnpp1-noble.sources /usr/bin/install_bluealsa_openaptx.sh
- name: switch mirror - name: switch mirror
copy: copy:
src: ../files/sources.list.d/ src: ../files/sources.list.d/
@ -310,6 +310,7 @@
- enable_xplayer_server - enable_xplayer_server
- start_xplayer_server - start_xplayer_server
- restart_xplayer_server - restart_xplayer_server
- reboot_required
register: copy_result register: copy_result
changed_when: copy_result.changed or (force_update | default(false) | bool) changed_when: copy_result.changed or (force_update | default(false) | bool)
@ -412,6 +413,23 @@
shell: shell:
cmd: systemctl restart sing-box 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 - name: enable_xplayer_server
shell: shell:
cmd: systemctl enable xplayer-server cmd: systemctl enable xplayer-server
@ -428,19 +446,5 @@
shell: shell:
cmd: echo "need reboot" 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