mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	conditionals
This commit is contained in:
		
							parent
							
								
									66eb9862ee
								
							
						
					
					
						commit
						f871683c2d
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -48,7 +48,7 @@
 | 
			
		|||
    virtualenv_command: virtualenv    # Traditionally /usr/bin/virtual/env -- but install_python2.sh (for Ubuntu 23.10+) sets up /usr/local/bin/virtualenv
 | 
			
		||||
    virtualenv_python: python2.7
 | 
			
		||||
    extra_args: "--no-use-pep517 --no-cache-dir --no-python-version-warning"
 | 
			
		||||
  when: ((is_debian_11 is defined and is_debian_11) or (is_ubuntu_2204 is defined and is_ubuntu_2204))    # Also avoids is_raspbian_11 and is_linuxmint_21, and is more future-proof than...
 | 
			
		||||
  when: not (is_ubuntu_2404 is defined and is_ubuntu_2404)
 | 
			
		||||
  #when: not (is_debian_9 or is_debian_10 or is_ubuntu_16 or is_ubuntu_17 or is_ubuntu_18 or is_ubuntu_19)
 | 
			
		||||
  # long form of (is_debian_11+ or is_ubuntu_20+)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -65,7 +65,7 @@
 | 
			
		|||
 | 
			
		||||
- name: Use scripts/U2404_python2.sh to install python2 and virtualenv
 | 
			
		||||
  command: bash "{{ iiab_dir }}/scripts/U2404_python2.sh"
 | 
			
		||||
  when: (is_ubuntu_2404 is defined and is_ubuntu_2404)
 | 
			
		||||
  when: is_ubuntu_2404 is defined and is_ubuntu_2404
 | 
			
		||||
 | 
			
		||||
- name: "Install from templates: venv wrapper /usr/bin/kalite, unit file /etc/systemd/system/kalite-serve.service"
 | 
			
		||||
  template:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue