mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Merge pull request #1602 from holta/osm-vector-vars
Explain osm_vector vars in {MIN, MEDIUM, BIG} local_vars.yml
			
			
This commit is contained in:
		
						commit
						31f9dae889
					
				
					 6 changed files with 37 additions and 20 deletions
				
			
		| 
						 | 
					@ -1,3 +1,9 @@
 | 
				
			||||||
menu_def_dir: '{{ doc_root }}/js-menu/menu-files/menu-defs'
 | 
					osm_vector_install: True
 | 
				
			||||||
 | 
					osm_vector_enabled: True
 | 
				
			||||||
osm_vector_path: '{{ content_base }}/www/osm-vector'
 | 
					osm_vector_path: '{{ content_base }}/www/osm-vector'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
 | 
				
			||||||
 | 
					# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					menu_def_dir: '{{ doc_root }}/js-menu/menu-files/menu-defs'
 | 
				
			||||||
iiab_osm_url : http://download.iiab.io/content/OSM/vector-tiles/maplist/hidden
 | 
					iiab_osm_url : http://download.iiab.io/content/OSM/vector-tiles/maplist/hidden
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -27,17 +27,16 @@
 | 
				
			||||||
    src: "index.html"
 | 
					    src: "index.html"
 | 
				
			||||||
    dest: '{{ osm_vector_path }}/maplist/index.html'
 | 
					    dest: '{{ osm_vector_path }}/maplist/index.html'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Bboxes are currently square.  But geofabrik has non-rectangular bboxes 
 | 
					# Bboxes (bounding boxes) are currently square.  But geofabrik has non-rectangular bboxes.
 | 
				
			||||||
# So bring the bounding box definition from cloud (bboxes.geojson is big)
 | 
					# So bring the bounding box definition from cloud (bboxes.geojson is big)
 | 
				
			||||||
- name: Fetch the bounding box description for osm maps
 | 
					- name: Fetch the bounding box description for osm maps
 | 
				
			||||||
  get_url:
 | 
					  get_url:
 | 
				
			||||||
    url: "{{ iiab_osm_url }}/assets/bboxes.geojson"
 | 
					    url: "{{ iiab_osm_url }}/assets/bboxes.geojson"
 | 
				
			||||||
    dest: '{{ osm_vector_path }}/maplist/assets/'
 | 
					    dest: '{{ osm_vector_path }}/maplist/assets/'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Install a package that helps with geojson
 | 
					- name: Install python-geojson package, that helps with geojson
 | 
				
			||||||
  package:
 | 
					  package:
 | 
				
			||||||
    name:
 | 
					    name: python-geojson
 | 
				
			||||||
      - python-geojson
 | 
					 | 
				
			||||||
    state: present
 | 
					    state: present
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Install the script to update osm catalog
 | 
					- name: Install the script to update osm catalog
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -351,7 +351,7 @@ mongodb_install: False
 | 
				
			||||||
mongodb_enabled: False
 | 
					mongodb_enabled: False
 | 
				
			||||||
mongodb_port: 27018
 | 
					mongodb_port: 27018
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Regional OSM vector maps take much less disk space than image versions
 | 
					# Regional OSM vector maps use much less disk space than bitmap/raster versions
 | 
				
			||||||
osm_vector_install: True
 | 
					osm_vector_install: True
 | 
				
			||||||
osm_vector_enabled: True
 | 
					osm_vector_enabled: True
 | 
				
			||||||
osm_vector_path: '{{ content_base }}/www/osm-vector'
 | 
					osm_vector_path: '{{ content_base }}/www/osm-vector'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -229,6 +229,10 @@ moodle_install: True
 | 
				
			||||||
moodle_enabled: True
 | 
					moodle_enabled: True
 | 
				
			||||||
# If using Moodle intensively, set apache_high_php_limits in 3-BASE-SERVER
 | 
					# If using Moodle intensively, set apache_high_php_limits in 3-BASE-SERVER
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Regional OSM vector maps use much less disk space than bitmap/raster versions
 | 
				
			||||||
 | 
					osm_vector_install: True
 | 
				
			||||||
 | 
					osm_vector_enabled: True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Might stall MongoDB on Power Failure: github.com/xsce/xsce/issues/879
 | 
					# Might stall MongoDB on Power Failure: github.com/xsce/xsce/issues/879
 | 
				
			||||||
# Sugarizer 1.0.1+ strategies to solve? github.com/iiab/iiab/pull/957
 | 
					# Sugarizer 1.0.1+ strategies to solve? github.com/iiab/iiab/pull/957
 | 
				
			||||||
sugarizer_install: True
 | 
					sugarizer_install: True
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -229,6 +229,10 @@ moodle_install: False
 | 
				
			||||||
moodle_enabled: False
 | 
					moodle_enabled: False
 | 
				
			||||||
# If using Moodle intensively, set apache_high_php_limits in 3-BASE-SERVER
 | 
					# If using Moodle intensively, set apache_high_php_limits in 3-BASE-SERVER
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Regional OSM vector maps use much less disk space than bitmap/raster versions
 | 
				
			||||||
 | 
					osm_vector_install: True
 | 
				
			||||||
 | 
					osm_vector_enabled: True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Might stall MongoDB on Power Failure: github.com/xsce/xsce/issues/879
 | 
					# Might stall MongoDB on Power Failure: github.com/xsce/xsce/issues/879
 | 
				
			||||||
# Sugarizer 1.0.1+ strategies to solve? github.com/iiab/iiab/pull/957
 | 
					# Sugarizer 1.0.1+ strategies to solve? github.com/iiab/iiab/pull/957
 | 
				
			||||||
sugarizer_install: True
 | 
					sugarizer_install: True
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -229,6 +229,10 @@ moodle_install: False
 | 
				
			||||||
moodle_enabled: False
 | 
					moodle_enabled: False
 | 
				
			||||||
# If using Moodle intensively, set apache_high_php_limits in 3-BASE-SERVER
 | 
					# If using Moodle intensively, set apache_high_php_limits in 3-BASE-SERVER
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Regional OSM vector maps use much less disk space than bitmap/raster versions
 | 
				
			||||||
 | 
					osm_vector_install: True
 | 
				
			||||||
 | 
					osm_vector_enabled: True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Might stall MongoDB on Power Failure: github.com/xsce/xsce/issues/879
 | 
					# Might stall MongoDB on Power Failure: github.com/xsce/xsce/issues/879
 | 
				
			||||||
# Sugarizer 1.0.1+ strategies to solve? github.com/iiab/iiab/pull/957
 | 
					# Sugarizer 1.0.1+ strategies to solve? github.com/iiab/iiab/pull/957
 | 
				
			||||||
sugarizer_install: False
 | 
					sugarizer_install: False
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue