1
0
Fork 0
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:
A Holt 2020-04-23 11:28:56 -04:00 committed by GitHub
parent 7d96b1a469
commit a092b06f57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'