mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
Update roles/bluetooth/tasks/install.yml
This commit is contained in:
parent
7d96b1a469
commit
a092b06f57
1 changed files with 6 additions and 7 deletions
|
@ -3,16 +3,15 @@
|
|||
path: /boot/firmware/usercfg.txt
|
||||
line: "enable_uart=0"
|
||||
state: present
|
||||
when: is_ubuntu and not (rpi_model == "none")
|
||||
when: is_ubuntu and rpi_model != "none"
|
||||
|
||||
- name: "Install pi-bluetooth package on Ubuntu"
|
||||
- name: Install pi-bluetooth package on Ubuntu
|
||||
package:
|
||||
name:
|
||||
- pi-bluetooth
|
||||
name: pi-bluetooth
|
||||
state: present
|
||||
when: is_ubuntu and not (rpi_model == "none")
|
||||
when: is_ubuntu and rpi_model != "none"
|
||||
|
||||
- name: "Install bluetooth packages"
|
||||
- name: Install bluetooth packages
|
||||
package:
|
||||
name:
|
||||
- bluetooth
|
||||
|
@ -57,7 +56,7 @@
|
|||
dest: /etc/systemd/system/bluetooth.service
|
||||
src: /lib/systemd/system/bluetooth.service
|
||||
|
||||
- name: Add -C --noplugin=sap to execStart of bluetooth service
|
||||
- name: Add -C --noplugin=sap to execStart of bluetooth service
|
||||
lineinfile:
|
||||
path: /etc/systemd/system/bluetooth.service
|
||||
regexp: '^ExecStart=/usr/lib/bluetooth/bluetoothd'
|
||||
|
|
Loading…
Reference in a new issue