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