mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +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
|
path: /boot/firmware/usercfg.txt
|
||||||
line: "enable_uart=0"
|
line: "enable_uart=0"
|
||||||
state: present
|
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:
|
package:
|
||||||
name:
|
name: pi-bluetooth
|
||||||
- pi-bluetooth
|
|
||||||
state: present
|
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:
|
package:
|
||||||
name:
|
name:
|
||||||
- bluetooth
|
- bluetooth
|
||||||
|
@ -57,7 +56,7 @@
|
||||||
dest: /etc/systemd/system/bluetooth.service
|
dest: /etc/systemd/system/bluetooth.service
|
||||||
src: /lib/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:
|
lineinfile:
|
||||||
path: /etc/systemd/system/bluetooth.service
|
path: /etc/systemd/system/bluetooth.service
|
||||||
regexp: '^ExecStart=/usr/lib/bluetooth/bluetoothd'
|
regexp: '^ExecStart=/usr/lib/bluetooth/bluetoothd'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue