1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Bluetooth changes on Ubuntu 20.10

This commit is contained in:
A Holt 2020-10-27 08:57:59 -04:00 committed by GitHub
parent 53ee51f334
commit e209d43b1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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