mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Merge pull request #2594 from holta/u20.10-bluetooth
Bluetooth changes on Ubuntu 20.10
This commit is contained in:
		
						commit
						cbb5675c0b
					
				
					 1 changed files with 6 additions and 4 deletions
				
			
		| 
						 | 
					@ -1,15 +1,17 @@
 | 
				
			||||||
- name: Disable built-in serial uart in /boot/firmware/usercfg.txt on ubuntu
 | 
					- name: Disable built-in serial uart in /boot/firmware/usercfg.txt on Ubuntu < 20.10 on RPi
 | 
				
			||||||
  lineinfile:
 | 
					  lineinfile:
 | 
				
			||||||
    path: /boot/firmware/usercfg.txt
 | 
					    path: /boot/firmware/usercfg.txt
 | 
				
			||||||
    line: "enable_uart=0"
 | 
					    line: "enable_uart=0"
 | 
				
			||||||
    state: present
 | 
					    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
 | 
					- name: Install pi-bluetooth package on Ubuntu on RPi
 | 
				
			||||||
  package:
 | 
					  package:
 | 
				
			||||||
    name: pi-bluetooth
 | 
					    name: pi-bluetooth
 | 
				
			||||||
    state: present
 | 
					    state: present
 | 
				
			||||||
  when: is_ubuntu and rpi_model != "none"
 | 
					  when: rpi_model != "none" and is_ubuntu
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Install bluetooth packages
 | 
					- name: Install bluetooth packages
 | 
				
			||||||
  package:
 | 
					  package:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue