mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
move apt install
This commit is contained in:
parent
17ce6e4fb4
commit
6a8d50aabc
1 changed files with 10 additions and 10 deletions
|
@ -10,6 +10,16 @@
|
||||||
- "{{ vector_map_path }}/viewer/tiles"
|
- "{{ vector_map_path }}/viewer/tiles"
|
||||||
- "{{ vector_map_path }}/installer"
|
- "{{ vector_map_path }}/installer"
|
||||||
|
|
||||||
|
- name: "Install packages for map installation: python3-geojson, python3-pil, python3-wget, php{{ php_version }}-sqlite3 (can also be installed by www_base/tasks/php-stem.yml)"
|
||||||
|
package:
|
||||||
|
state: present
|
||||||
|
name:
|
||||||
|
- python3-geojson
|
||||||
|
- python3-pil
|
||||||
|
- python3-wget
|
||||||
|
#- php{{ php_version }}-common # Auto-installed as an apt dependency. REGARDLESS: php{{ php_version }}-common superset php{{ php_version }}-cli is auto-installed by php{{ php_version }}-fpm in nginx/tasks/install.yml
|
||||||
|
- php{{ php_version }}-sqlite3
|
||||||
|
|
||||||
# - name: Does 26M cities database {{ vector_map_path }}/viewer/cities1000.sqlite exist?
|
# - name: Does 26M cities database {{ vector_map_path }}/viewer/cities1000.sqlite exist?
|
||||||
# stat:
|
# stat:
|
||||||
# path: "{{ vector_map_path }}/viewer/cities1000.sqlite"
|
# path: "{{ vector_map_path }}/viewer/cities1000.sqlite"
|
||||||
|
@ -187,16 +197,6 @@
|
||||||
force: yes
|
force: yes
|
||||||
timeout: "{{ download_timeout }}"
|
timeout: "{{ download_timeout }}"
|
||||||
|
|
||||||
- name: "Install packages for map installation: python3-geojson, python3-pil, python3-wget, php{{ php_version }}-sqlite3 (can also be installed by www_base/tasks/php-stem.yml)"
|
|
||||||
package:
|
|
||||||
state: present
|
|
||||||
name:
|
|
||||||
- python3-geojson
|
|
||||||
- python3-pil
|
|
||||||
- python3-wget
|
|
||||||
#- php{{ php_version }}-common # Auto-installed as an apt dependency. REGARDLESS: php{{ php_version }}-common superset php{{ php_version }}-cli is auto-installed by php{{ php_version }}-fpm in nginx/tasks/install.yml
|
|
||||||
- php{{ php_version }}-sqlite3
|
|
||||||
|
|
||||||
- name: Copy 6 scripts to /usr/bin, for downloading tiles (0755)
|
- name: Copy 6 scripts to /usr/bin, for downloading tiles (0755)
|
||||||
get_url:
|
get_url:
|
||||||
url: "{{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/viewer/scripts/{{ item }}"
|
url: "{{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/viewer/scripts/{{ item }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue