From e209d43b1bc555ce91e69c2a3b97d8c7c14d9668 Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 27 Oct 2020 08:57:59 -0400 Subject: [PATCH] Bluetooth changes on Ubuntu 20.10 --- roles/bluetooth/tasks/install.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/bluetooth/tasks/install.yml b/roles/bluetooth/tasks/install.yml index cac7d729b..fc52f72c0 100644 --- a/roles/bluetooth/tasks/install.yml +++ b/roles/bluetooth/tasks/install.yml @@ -3,13 +3,15 @@ path: /boot/firmware/usercfg.txt line: "enable_uart=0" state: present - when: is_ubuntu and rpi_model != "none" + when: rpi_model != "none" and is_ubuntu and (ansible_distribution_version is version('20.10', '<')) + #when: rpi_model != "none" and is_ubuntu and (ansible_distribution_release == "focal") + # 2020-10-27 #2585: Ubuntu Desktop 20.10 has no /boot/firmware/usercfg.txt - name: Install pi-bluetooth package on Ubuntu package: name: pi-bluetooth state: present - when: is_ubuntu and rpi_model != "none" + when: rpi_model != "none" and is_ubuntu - name: Install bluetooth packages package: