mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Merge pull request #3155 from holta/usbmount-ubuntu-workaround
usb_lib/tasks/install.yml: 'apt install usbmount_0.0.22_all.deb' on Ubuntu too
This commit is contained in:
		
						commit
						097d8918b7
					
				
					 1 changed files with 8 additions and 8 deletions
				
			
		| 
						 | 
					@ -35,17 +35,17 @@
 | 
				
			||||||
  when: udev_unit.stat.exists is defined and udev_unit.stat.exists
 | 
					  when: udev_unit.stat.exists is defined and udev_unit.stat.exists
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# http://raspbian.raspberrypi.org/raspbian/pool/main/u/usbmount/usbmount_0.0.22_all.deb
 | 
					# http://raspbian.raspberrypi.org/raspbian/pool/main/u/usbmount/usbmount_0.0.22_all.deb
 | 
				
			||||||
- name: Install {{ iiab_download_url }}/usbmount_0.0.22_all.deb, missing from Debian
 | 
					- name: Install {{ iiab_download_url }}/usbmount_0.0.22_all.deb, no longer supported by {RasPiOS, Debian, Ubuntu}
 | 
				
			||||||
  apt:
 | 
					  apt:
 | 
				
			||||||
    deb: "{{ iiab_download_url }}/usbmount_0.0.22_all.deb"
 | 
					    deb: "{{ iiab_download_url }}/usbmount_0.0.22_all.deb"
 | 
				
			||||||
  when: is_debian
 | 
					  # when: is_debian
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# check status of usbmount on mintlinux - should be ok Ubuntu variant
 | 
					# check status of usbmount on mintlinux - should be ok Ubuntu variant
 | 
				
			||||||
- name: Install usbmount from OS repo for Ubuntu variants
 | 
					# - name: Install usbmount from OS repo for Ubuntu variants
 | 
				
			||||||
  package:
 | 
					#   package:
 | 
				
			||||||
    name: usbmount
 | 
					#     name: usbmount
 | 
				
			||||||
    state: present
 | 
					#     state: present
 | 
				
			||||||
  when: is_ubuntu
 | 
					#   when: is_ubuntu
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Add dir {{ doc_root }}/local_content, where USB drive links can appear (0775)
 | 
					- name: Add dir {{ doc_root }}/local_content, where USB drive links can appear (0775)
 | 
				
			||||||
  file:
 | 
					  file:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue