disable bluetooth on boot via bluez

Apparently Blueman dropped power management in v2.4. https://github.com/blueman-project/blueman/blob/main/CHANGELOG.md#changes-2

Closes #121
This commit is contained in:
Pig Monkey 2024-06-26 17:48:52 -07:00
parent 94aeb4a6be
commit 2d0a272494

View file

@ -11,9 +11,10 @@
- restart pulse as user
- name: Do not auto power on the bluetooth device
command: gsettings set org.blueman.plugins.powermanager auto-power-on false
become: yes
become_user: "{{ user.name }}"
lineinfile:
dest: /etc/bluetooth/main.conf
state: present
line: "AutoEnable=false"
- name: Unblock the bluetooth service
service: