1
0
Fork 0
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:
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
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'