diff --git a/roles/bluetooth/tasks/install.yml b/roles/bluetooth/tasks/install.yml index 0ffe7e6ab..c57b18883 100644 --- a/roles/bluetooth/tasks/install.yml +++ b/roles/bluetooth/tasks/install.yml @@ -1,9 +1,16 @@ +- name: Disable built-in serial uart in /boot/firmware/usercfg.txt on ubuntu + lineinfile: + path: /boot/firmware/usercfg.txt + line: "enable_uart=0" + state: present + when: is_ubuntu and not (rpi_model == "none") + - name: "Install pi-bluetooth package on Ubuntu" package: name: - pi-bluetooth state: present - when: is_ubuntu and not (rpi_model == "none") + when: is_ubuntu and not (rpi_model == "none") - name: "Install bluetooth packages" package: