From 2df00ff128cc9f4ea7fde7344aa011b1c562f955 Mon Sep 17 00:00:00 2001 From: Diana <65094216+dianaw353@users.noreply.github.com> Date: Sun, 10 Nov 2024 14:12:23 -0700 Subject: [PATCH] update autobluetooth fix --- pre_tasks/system/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pre_tasks/system/tasks/main.yml b/pre_tasks/system/tasks/main.yml index 733afca..2c18c39 100644 --- a/pre_tasks/system/tasks/main.yml +++ b/pre_tasks/system/tasks/main.yml @@ -26,7 +26,8 @@ - name: bluetooth when: system.enable_bluetooth - name: bluetooth-autoconnect - when: "system.enable_bluetooth and system.enable_bluetooth_autoconnect" + when: "system.enable_bluetooth and system.enable_bluetooth_autoconnect and system.audio_server == 'pipewire'" + become: true - name: pulseaudio-bluetooth-autoconnect when: "system.enable_bluetooth and system.enable_bluetooth_autoconnect and system.audio_server == 'pulseaudio'" scope: user