summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-10-19 21:52:46 +0200
committerGuilhem Moulin <guilhem@fripost.org>2024-10-19 21:52:46 +0200
commitcb31aed3f469987b7993033228641761fad2e0f9 (patch)
tree97a087d04f2b90f0e958d24be3ade820a93d2a89
parent6deb648540d44ca7dd91217307bd7bcd08300b2b (diff)
Also import and publish custom layers.
-rw-r--r--group_vars/all.yml4
-rw-r--r--tasks/webmap.yml6
m---------webmap-tools0
3 files changed, 9 insertions, 1 deletions
diff --git a/group_vars/all.yml b/group_vars/all.yml
index 0b3227d..e90c73e 100644
--- a/group_vars/all.yml
+++ b/group_vars/all.yml
@@ -9,6 +9,10 @@ webmap_layer_groups:
- vbk
- ri
- svk
+ - misc
+
+webmap_layer_groups_nodownload:
+ - misc
# PostgreSQL's version number and cluster name
postgresql:
diff --git a/tasks/webmap.yml b/tasks/webmap.yml
index d4aca82..5f82d7f 100644
--- a/tasks/webmap.yml
+++ b/tasks/webmap.yml
@@ -131,7 +131,11 @@
- name: Enable webmap-download@.service
service: name=webmap-download@{{ item }}.service enabled=true
- with_items: "{{ webmap_layer_groups }}"
+ with_items: "{{ webmap_layer_groups | difference(webmap_layer_groups_nodownload) }}"
+
+- name: Disable some webmap-download@.service
+ service: name=webmap-download@{{ item }}.service enabled=false
+ with_items: "{{ webmap_layer_groups_nodownload }}"
- meta: flush_handlers
diff --git a/webmap-tools b/webmap-tools
-Subproject 4f56801e9737e1f9201ea5e2d1f23f759d65d43
+Subproject eaa32133e3f28026ca0a56e53f95decf15bf0a5