mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Update kiwix_install.yml
This commit is contained in:
		
							parent
							
								
									80c9d62e43
								
							
						
					
					
						commit
						1b612521f9
					
				
					 1 changed files with 7 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -60,7 +60,8 @@
 | 
			
		|||
# 2. INSTALL KIWIX-TOOLS EXECUTABLES IF kiwix_force_install
 | 
			
		||||
# (We get a whole web server for i686 but only kiwix execs for linux64 & armhf)
 | 
			
		||||
 | 
			
		||||
- name: Unarchive kiwix-tools .tar.gz or .tar.bz2 to /tmp
 | 
			
		||||
#- name: Unarchive kiwix-tools .tar.gz or .tar.bz2 to /tmp
 | 
			
		||||
- name: Unarchive kiwix-tools .tar.gz to /tmp
 | 
			
		||||
  unarchive:
 | 
			
		||||
    src: "{{ downloads_dir }}/{{ kiwix_src_file }}"
 | 
			
		||||
    dest: /tmp
 | 
			
		||||
| 
						 | 
				
			
			@ -68,13 +69,13 @@
 | 
			
		|||
    group: root
 | 
			
		||||
  when: kiwix_force_install
 | 
			
		||||
 | 
			
		||||
- name: Move /tmp/{{ kiwix_src_dir }}/* to permanent location /opt/iiab/kiwix/bin (armhf & linux64)
 | 
			
		||||
- name: Move /tmp/{{ kiwix_src_dir }}/* to permanent location /opt/iiab/kiwix/bin (armhf & linux64 & i686)
 | 
			
		||||
  shell: "mv /tmp/{{ kiwix_src_dir }}/* {{ kiwix_path }}/bin/"
 | 
			
		||||
  when: kiwix_force_install and not kiwix_src_contains_bin
 | 
			
		||||
#  when: kiwix_force_install and not kiwix_src_contains_bin
 | 
			
		||||
 | 
			
		||||
- name: Move /tmp/{{ kiwix_src_dir }}/bin/* to permanent location /opt/iiab/kiwix/bin (i686)
 | 
			
		||||
  shell: "mv /tmp/{{ kiwix_src_dir }}/bin/* {{ kiwix_path }}/bin/"
 | 
			
		||||
  when: kiwix_force_install and kiwix_src_contains_bin
 | 
			
		||||
#- name: Move /tmp/{{ kiwix_src_dir }}/bin/* to permanent location /opt/iiab/kiwix/bin (i686)
 | 
			
		||||
#  shell: "mv /tmp/{{ kiwix_src_dir }}/bin/* {{ kiwix_path }}/bin/"
 | 
			
		||||
#  when: kiwix_force_install and kiwix_src_contains_bin
 | 
			
		||||
 | 
			
		||||
#- name: Unarchive Kiwix binaries to permanent location (NOT i686)
 | 
			
		||||
#  unarchive:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue