mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Merge branch 'vector' of https://github.com/georgejhunt/iiab into vector
This commit is contained in:
		
						commit
						9f7e7eee56
					
				
					 3 changed files with 23 additions and 0 deletions
				
			
		
							
								
								
									
										1
									
								
								roles/osm-vector/defaults/main.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								roles/osm-vector/defaults/main.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
menu_def_dir: '{{ doc_root }}/js-menu/menu-files/menu-defs'
 | 
			
		||||
							
								
								
									
										12
									
								
								roles/osm-vector/files/en-map_test.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								roles/osm-vector/files/en-map_test.json
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,12 @@
 | 
			
		|||
{
 | 
			
		||||
  "lang": "en", 
 | 
			
		||||
  "intended_use": "map", 
 | 
			
		||||
  "automatically_generated": "true", 
 | 
			
		||||
  "title": "OpenStreetMap Test Page", 
 | 
			
		||||
  "extra_html": "", 
 | 
			
		||||
  "start_url": "assets", 
 | 
			
		||||
  "menu_item_name": "en-map_test.json", 
 | 
			
		||||
  "map_name": "en-map_test", 
 | 
			
		||||
  "logo_url": "osm.jpg", 
 | 
			
		||||
  "description": "<p>This page is installed by default during the initial installation of Internet In A Box>"
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -75,3 +75,13 @@
 | 
			
		|||
    src: splash-index.redirect
 | 
			
		||||
    dest: "{{ osm_vector_path }}/index.html"
 | 
			
		||||
 | 
			
		||||
- name: Determine status of splash menu def
 | 
			
		||||
  stat:
 | 
			
		||||
    path: '{{ menu_def_dir }}/en-map_test.json'
 | 
			
		||||
  register: menu_def
 | 
			
		||||
 | 
			
		||||
- name: Do not overwrite if it already exists
 | 
			
		||||
  copy:
 | 
			
		||||
     src: en-map_test.json
 | 
			
		||||
     dest: '{{ menu_def_dir }}/en-map_test.json'
 | 
			
		||||
  when: menu_def.stat.exists is defined and not menu_def.stat.exists
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue