mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	kiwix/defaults/main.yml: Clarify ansible_machine safer than ansible_architecture
This commit is contained in:
		
							parent
							
								
									8643285dc9
								
							
						
					
					
						commit
						f2b74880e8
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -33,8 +33,10 @@ kiwix_arch_dict: | |||
|   armv7l: armhf | ||||
|   aarch64: armhf | ||||
| 
 | ||||
| # ansible_architecture can also work: | ||||
| # ansible_architecture might also work, if not quite as well: | ||||
| # https://stackoverflow.com/questions/66828315/what-is-the-difference-between-ansible-architecture-and-ansible-machine-on-a/66828837#66828837 | ||||
| # CLAIM: 'ansible_machine might be "i686", whereas ansible_architecture on the same host would be "i386"' | ||||
| # https://stackoverflow.com/questions/44713880/how-do-i-make-decision-based-on-arch-in-ansible-playbooks/44714226#44714226 | ||||
| kiwix_arch: "{{ kiwix_arch_dict[ansible_machine] | default('unsupported') }}" | ||||
| 
 | ||||
| # Latest official kiwix-tools release, per Kiwix permalink redirects: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue