qgis-server
qgis-server
Install qgis-server package.
This role not manage webserver, use another role for this job.
Requirements
This role requires Ansible 2.8 or higher, and platform requirements are listed in the metadata file.
Testing
This role use Molecule to run tests.
Local and Github Actions tests run tests on Docker by default. See molecule documentation to use other backend.
Currently, tests are done on:
- Debian Buster
- Debian Stretch
- Ubuntu Bionic
- Ubuntu Focal
and use:
- Ansible 2.8.x
- Ansible 2.9.x
Running tests
Using Docker driver
$ tox
You can also configure molecule options and molecule command using environment variables:
MOLECULE_OPTIONS
Default: "--debug"MOLECULE_COMMAND
Default: "test"
$ MOLECULE_OPTIONS='' MOLECULE_COMMAND=converge tox
Role Variables
Default role variables
# Installation
qgis_server_repository_cache_valid_time: 3600
qgis_server_system_prerequisites: "{{ _qgis_server_system_prerequisites | default([]) }}"
qgis_server_repositories_keys: "{{ _qgis_server_repositories_keys | default([]) }}"
qgis_server_repositories: "{{ _qgis_server_repositories | default([]) }}"
qgis_server_system_packages: "{{ _qgis_server_system_packages | default([]) }}"
qgis_server_use_ltr: False
# Specific Debian installation
qgis_server_use_ubuntugis: False
# Service
qgis_server_service_name: "{{ _qgis_server_service_name | default('qgis-server') }}"
Dependencies
None
Example Playbook
- hosts: servers
roles:
- { role: infOpen.qgis-server }
License
MIT
Author Information
Alexandre Chaussier (for Infopen company)
- https://www.infopen.pro
- a.chaussier [at] infopen.pro
Install
ansible-galaxy install infOpen/ansible-role-qgis-server
License
mit
Downloads
43
Owner
Infopen company