GisServer/group_vars/all.yaml

65 lines
1.9 KiB
YAML
Raw Normal View History

---
sftp_root: "/var/sftp" # no trailing /
2024-06-08 14:39:43 +02:00
software_package_root: "/opt"
2024-04-06 22:50:53 +02:00
# temporary fix for https://github.com/ansible/ansible/issues/8603
_lizmap_version: 3.7.6
_qgis_server_version: 3.34.7 # LTS preferred
2024-04-06 22:50:53 +02:00
php:
version: 8.2
gis_database:
user: gis
databases:
- gisdb
allow_ips:
v4:
- "0.0.0.0/0"
v6:
- "::0/0"
2024-04-06 22:50:53 +02:00
qgis_repo:
keyring:
url: "https://download.qgis.org/downloads/qgis-archive-keyring.gpg"
hash: "sha512:077d28a33ef529c98d3ea3d7a18cd3dd43764372c3e70685335cb5a1edad33c64b3dc7b520ac212ea28cb5b7e44e13f1d05ea652a6889c0870323d45eca9681d"
postgresql_server:
port: 5432
user: # TODO: add option to change?
2024-04-06 22:50:53 +02:00
qgis_server:
full_version: "1:{{ _qgis_server_version }}+17bookworm"
path: "/opt/qgis-server" # no trailing /
2024-04-06 22:50:53 +02:00
user: "www-data"
group: "www-data"
port: 3030
count: 4
lizmap:
postgresql_connection:
host: "localhost"
port: "{{ postgresql_server['port'] }}"
database: "lizmap"
user: "lizmap"
2024-04-06 22:50:53 +02:00
version: "{{ _lizmap_version }}"
path: "/var/www/"
root_repositories: "{{ sftp_root }}/qgis-projects" # no trailing /
2024-04-06 22:50:53 +02:00
url: "https://github.com/3liz/lizmap-web-client/releases/download/{{ _lizmap_version }}/lizmap-web-client-{{ _lizmap_version }}.zip"
hash: "sha512:38e388a0e3c8e2f592c2d2ec0bbb4a591c9abccb8632e6fba080cbd099b693da0c849b19e2148ee2ad8c3d5a38983381d1796063047828c0889e6ee8b4002b33"
dependencies:
- "php{{ php['version'] }}-fpm"
- "php{{ php['version'] }}-cli"
- "php{{ php['version'] }}-bz2"
- "php{{ php['version'] }}-curl"
- "php{{ php['version'] }}-gd"
- "php{{ php['version'] }}-intl"
- "php-json"
- "php{{ php['version'] }}-mbstring"
- "php{{ php['version'] }}-pgsql"
- "php{{ php['version'] }}-sqlite3"
- "php{{ php['version'] }}-xml"
- "php{{ php['version'] }}-ldap"
- "php{{ php['version'] }}-redis"
- "php{{ php['version'] }}-pgsql"