summaryrefslogtreecommitdiffstats
path: root/tasks
Commit message (Collapse)AuthorAgeFiles
* Deploy the webmap CGI.Guilhem Moulin12 days1
| | | | | We also lower tile expiration time from 8h to 30m to reduce the race condition where the database an the on-disk tiles are not in sync.
* Serve empty error pages as text/plain not application/x-empty.Guilhem Moulin14 days1
| | | | | | | | | | | | | | | | | So Firefox and Chromium serve a blank page resp. a generic ”HTTP ERROR 404” page. With application/x-empty Chromium serves the following This site can’t be reached The webpage at https://example.net/… might be temporarily down or it may have moved permanently to a new web address. ERR_INVALID_RESPONSE which can be confusing (even though only OpenLayer should consume those error pages). This reverts commit 1843371641f5b3898893df91094412eaeedc8807.
* community.postgresql: Rename parameters to avoid deprecation warnings.Guilhem Moulin2025-05-221
| | | | | [DEPRECATION WARNING]: Alias 'db' is deprecated. See the module docs for more information. This feature will be removed from collection 'community.postgresql' version 5.0.0. [DEPRECATION WARNING]: Alias 'database' is deprecated. See the module docs for more information. This feature will be removed from collection 'community.postgresql' version 5.0.0.
* HTTPd: Use `Content-Type: application/x-empty` for 404 error pages.Guilhem Moulin2025-05-211
| | | | | This matches PHP's finfo_file() behavior for empty files, cf. https://stackoverflow.com/questions/24015038/why-does-php-file-info-return-inode-x-empty-for-empty-text-files
* Rename _webmap-import user to _webmap.Guilhem Moulin2025-05-211
|
* Update webmap task.Guilhem Moulin2025-05-211
|
* Tune PostgreSQL.Guilhem Moulin2024-11-061
| | | | Cf. https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server
* Also install libnss-myhostname.Guilhem Moulin2024-11-061
| | | | Cf. nss-myhostname(8).
* Also import and publish custom layers.Guilhem Moulin2024-10-191
|
* Add layers from Svenska Kraftnät (SvK) and copy custom layers to the ↵Guilhem Moulin2024-10-191
| | | | production machine.
* webmap: Copy administrative-codes.json*.Guilhem Moulin2024-09-261
|
* Create an empty /etc/apt/sources.list.Guilhem Moulin2024-09-251
| | | | | Something keeps recreating (without content) it if we delete it, so we leave it instead but ensure it's empty instead.
* Copy webmap-publish.Guilhem Moulin2024-09-252
| | | | | | | | We also replace persistent/shared RuntimeDirectory settings with directories defined as tmpfiles.d(5) entries. This gives more control over access control. We also change static compression from gzip to brotli on the HTTPd.
* Copy webmap-import.Guilhem Moulin2024-09-251
|
* webmap-download: Use a dedicated system group.Guilhem Moulin2024-09-201
| | | | | It will be shared between _webmap-* system users, which will be handy to share lock files.
* Install PostgreSQL and PostGIS.Guilhem Moulin2024-06-121
|
* Install unzip.Guilhem Moulin2024-06-101
|
* tasks/base.yml: Install acl package.Guilhem Moulin2024-06-101
| | | | | This is needed for unprivileged ‘become_user’, cf. https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_privilege_escalation.html#risks-of-becoming-an-unprivileged-user
* tasks/base.yml: Reorder packages.Guilhem Moulin2024-06-101
|
* Add webmap task.Guilhem Moulin2024-06-031
|
* tasks/base.yml: Also install tig(1) and jq(1).Guilhem Moulin2024-06-031
|
* tasks/httpd.yml: Create /etc/nginx/sites-enabled/webmap as a symlink.Guilhem Moulin2024-06-011
|
* Postfix: Use relay-smtps as relayhost transport.Guilhem Moulin2024-02-151
|
* HTTPd: Set vhost karta.klimatanalysnorr.se.Guilhem Moulin2024-02-151
|
* Install nginx.Guilhem Moulin2024-01-311
|
* tasks/network.yml: Add flush_handlers tasks.Guilhem Moulin2024-01-041
|
* Fix timezone setting.Guilhem Moulin2024-01-041
| | | | | Use community.general.timezone, cf. https://docs.ansible.com/ansible/latest/collections/community/general/timezone_module.html#ansible-collections-community-general-timezone-module
* Install postfix and configure it as a nullmailer.Guilhem Moulin2024-01-041
|
* Base system.Guilhem Moulin2024-01-047