From 7d96b1a4691ec8bd2705b4af9a5f59e08e69d98f Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Thu, 23 Apr 2020 10:05:00 -0500 Subject: [PATCH] add usercfg.txt alteration --- roles/bluetooth/tasks/install.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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: