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
				
			
		| 
						 | 
				
			
			@ -34,18 +34,18 @@
 | 
			
		|||
    state: restarted
 | 
			
		||||
  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
 | 
			
		||||
- name: Install {{ iiab_download_url }}/usbmount_0.0.22_all.deb, missing from Debian
 | 
			
		||||
# 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, no longer supported by {RasPiOS, Debian, Ubuntu}
 | 
			
		||||
  apt:
 | 
			
		||||
    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
 | 
			
		||||
- name: Install usbmount from OS repo for Ubuntu variants
 | 
			
		||||
  package:
 | 
			
		||||
    name: usbmount
 | 
			
		||||
    state: present
 | 
			
		||||
  when: is_ubuntu
 | 
			
		||||
# - name: Install usbmount from OS repo for Ubuntu variants
 | 
			
		||||
#   package:
 | 
			
		||||
#     name: usbmount
 | 
			
		||||
#     state: present
 | 
			
		||||
#   when: is_ubuntu
 | 
			
		||||
 | 
			
		||||
- name: Add dir {{ doc_root }}/local_content, where USB drive links can appear (0775)
 | 
			
		||||
  file:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue