1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

move apt install

This commit is contained in:
Jerry Vonau 2022-04-25 22:52:44 -05:00
parent 17ce6e4fb4
commit 6a8d50aabc

View file

@ -10,6 +10,16 @@
- "{{ vector_map_path }}/viewer/tiles"
- "{{ 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?
# stat:
# path: "{{ vector_map_path }}/viewer/cities1000.sqlite"
@ -187,16 +197,6 @@
force: yes
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)
get_url:
url: "{{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/viewer/scripts/{{ item }}"